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)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 13 May 2020 19:18:33 +0000 (19:18 +0000)
commit44f4267cfc1097b5048cd2e49da73d4cbe7c69ed
tree02eee39be4b399b9c95bfd189828a8d828927974
parentf0ecc011f0d91f86f2994bdda3c7e15d5d52592a
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/Circulation.pm