Bug 21681: Remove C4::Accounts::getcharges
authorJosef Moravec <josef.moravec@gmail.com>
Fri, 26 Oct 2018 10:05:11 +0000 (10:05 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 31 Oct 2018 13:52:07 +0000 (13:52 +0000)
commit655caa61e64af3c1fdb12a3a01f28f8d07752609
tree3f41df0a73b26d9a5befcf8adcb76808bb97c2bc
parent8193d3592d815066943cba5807ef6d80c0f7d366
Bug 21681: Remove C4::Accounts::getcharges

Test plan:
0) Do not apply the patch
1) Enable ILS-DI
2) Go to
<opac_url>/cgi-bin/koha/ilsdi.pl?service=GetPatronInfo&patron_id=51&show_fines=1
use patron with some paid and unpaid fines
3) Save the page for later usage
4) Apply the patch
5) Repeat 2 with same patron and compare the saved result with the new
one, they should be same
6) git grep getcharges should return no occurance
7) prove t/db_dependent/Accounts.t

Co-authored-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Accounts.pm
C4/ILSDI/Services.pm
t/db_dependent/Accounts.t