Koha-clms/Koha/REST
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
..
Plugin Bug 19686: (follow-up) Add to_api param for completeness 2018-02-16 14:05:20 -03:00
V1 Bug 20942: (QA follow-up) Use $lines->total_outstanding 2018-07-18 16:49:27 +00:00
V1.pm Bug 20402: Remove dependency on Mojo::Plugin::OAuth2::Server 2018-05-08 15:55:42 -03:00