Koha-clms/Koha/REST/V1
Tomas Cohen Arazi a73d45534f
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>
(cherry picked from commit 6672b26d16)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2018-08-02 18:03:37 +01:00
..
Acquisitions
…
Patrons Bug 20942: (QA follow-up) Use $lines->total_outstanding 2018-08-02 18:03:37 +01: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 19784: Adapt /v1/patrons to new naming guidelines 2018-03-29 11:42:08 -03:00