[Koha-bugs] [Bug 20946] Cannot pay fines for patrons with credits
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 17:21:01 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20946
--- Comment #20 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76632
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76632&action=edit
Bug 20946: (QA follow-up) make outstanding_debits return the account lines only
This patch was discussed with Jonathan on a QA conversation. It is
better to keep this simpler and more reusable. And is the right approach
in this case.
This patch makes Koha::Account::outstanding_debits return the account
lines, and a method is added to Koha::Account::Lines so the outstanding
amount is calculated on the resultset. This is done the dame way it was
done before, and the tests got adjusted.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list