]> git.koha-community.org Git - koha.git/commit
Bug 12001: Move GetMemberAccountBalance to Koha::Account->non_issues_charges
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Jan 2018 20:25:41 +0000 (17:25 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Feb 2018 13:57:30 +0000 (10:57 -0300)
commit6355791848585f7ef490b1c63f64790b9a783e73
tree9533729702a21a0e45650c6aa583bf9e00120fa4
parentd9558f77866fa3fd530eb615b8f5d277d1b8c608
Bug 12001: Move GetMemberAccountBalance to Koha::Account->non_issues_charges

As said previously, GetMemberAccountBalance returns ( the balance, the
non issues charges, the other charges)

The other charges are the balance - the non issues charges.

In this patch we remove the subroutine from C4::Members and use the
new Koha::Account->non_issues_charges subroutine instead

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/Members.pm
Koha/Account.pm
t/db_dependent/ILSDI_Services.t
t/db_dependent/Members.t