Bug 19280: Pass a Koha::Patron to CanBookBeIssued
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 Sep 2017 15:51:28 +0000 (12:51 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Jan 2018 20:23:15 +0000 (17:23 -0300)
commitd8dc86bc4bde4b5744cd0bc954e1e5767250dde2
treee6def1e98c32271fa40d556e132d68218c866f3c
parent67bf5baf1507fbb35080e15238c55dc8762edd9a
Bug 19280: Pass a Koha::Patron to CanBookBeIssued

We need to make subroutine from C4 use more Koha::Object objects
Seeing bug 19276, starting here is a good start.

Test plan:
The tests should still pass.

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/ILSDI/Services.pm
circ/circulation.pl
opac/sco/sco-main.pl
t/db_dependent/Circulation.t
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
t/db_dependent/Circulation/dateexpiry.t
t/db_dependent/DecreaseLoanHighHolds.t
t/db_dependent/Patron/Borrower_PrevCheckout.t
t/db_dependent/rollingloans.t