Bug 25417: Prevent negative debit amount on backdating returns
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 May 2020 10:28:46 +0000 (12:28 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 12:46:38 +0000 (13:46 +0100)
commit53349e8000d7073220fedb48bcd910abec7a592b
tree01eca14ac8c6456435fc6f36a25260af074499f3
parent2c9a322486e003e9f36d48fa72a5dd27b6ebcad9
Bug 25417: Prevent negative debit amount on backdating returns

Koha::Account->add_credit is expecting a positive amount.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Didier Gautheron <didier.gautheron@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm