Bug 17583: Use Koha::Patron->is_expired from the circulation page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Nov 2016 11:26:00 +0000 (12:26 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Dec 2016 19:13:43 +0000 (19:13 +0000)
commit57eb834ba74a0f440e38e2eea94e9ce315d1a62d
tree55cb232a381adf45eb60eec8688a35cb1e85c554
parent4716c495e091cb9cf6e867bfaa993fd5aeb8ccae
Bug 17583: Use Koha::Patron->is_expired from the circulation page

Bug 17579 introduces a Koha::Patron->is_expired method.
Let's use it from this script.

Test plan:
Confirm that you see the message on the interface from the circulation
page for an expired patron

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>
circ/circulation.pl