Koha-clms/Koha/REST/V1
Tomas Cohen Arazi 6672b26d16 Bug 20942: (QA follow-up) Use $lines->total_outstanding
This patch makes the controller code use $lines->total_outstanding
instead of expecting ->outstanding_debits and ->outstanding_credits
return the total.

Tests should pass as before. No behaviour change is expected.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/patrons_accounts.t
=> SUCCESS: Tests still pass, no behaviour change.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-18 16:49:27 +00:00
..
Acquisitions Bug 18120: Tidy up 2017-09-29 17:13:13 -03:00
Patrons Bug 20942: (QA follow-up) Use $lines->total_outstanding 2018-07-18 16:49:27 +00:00
Auth.pm Bug 20624: Net::OAuth2::AuthorizationServer is not a hard dependency 2018-05-09 12:56:03 -03:00
Cities.pm Bug 20004: Fix POD 2018-02-16 17:53:42 -03:00
Hold.pm Bug 20167: Make changing a hold pass the itemnumber to ModReserve 2018-03-15 08:24:00 +00:00
Illrequests.pm Bug 7317: QA followup 2017-11-09 11:42:14 -03:00
OAuth.pm Bug 20624: Net::OAuth2::AuthorizationServer is not a hard dependency 2018-05-09 12:56:03 -03:00
Patrons.pm Bug 20287: Replace occurrences of ModMember in REST API 2018-07-18 15:49:55 +00:00