Bug 17583: Add the Koha::Patron->is_going_to_expired method
commit57fd09f45c4372438b10cf6779a42def51c77960
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Nov 2016 15:01:55 +0000 (8 15:01 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Dec 2016 19:13:44 +0000 (2 19:13 +0000)
treed1c3a7e3ba45e8f06d0140df76c79f8ca34022eb
parent57eb834ba74a0f440e38e2eea94e9ce315d1a62d
Bug 17583: Add the Koha::Patron->is_going_to_expired method

In order to be consistent, we need to create this method as well.

Test plan:
Make sure the pref NotifyBorrowerDeparture works as expected

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Patron.pm
circ/circulation.pl
t/db_dependent/Koha/Patrons.t