Koha-clms/Koha/Account
Tomas Cohen Arazi 5a0152f3c9
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@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2018-07-10 07:42:36 +01:00
..
Line.pm Bug 18790: (QA follow-up) Use a transaction for voiding 2018-04-19 12:32:22 -03:00
Lines.pm Bug 20946: (QA follow-up) make outstanding_debits return the account lines only 2018-07-10 07:42:36 +01:00
Offset.pm Bug 2696: (QA follow-up) Fix POD, results sorting, permissions 2018-04-24 14:01:47 -03:00
Offsets.pm Bug 14826: (QA follow-up) POD fixes 2017-10-20 17:14:32 -03:00