https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21607 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 80858 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80858&action=edit Bug 21607: Make Koha::Account::Line->apply store credits as negative amounts This is a trivial patch, that makes offsets have 'amount' stored as negative values for applied credits. The behaviour is changed on the tests and adjusted in the code. To test: - Run $ kshell k$ prove t/db_dependent/Koha/Account/Lines.t => SUCCESS: Tests pass! - Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.