Bug 15845: Renewal date in circulation.pl is not always correct and not even used
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 17 Feb 2016 15:32:03 +0000 (16:32 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 26 Feb 2016 15:45:45 +0000 (16:45 +0100)
commit6ebce7c2cfad56cdaf0244607809464412a67d2d
tree4886cd9dea09729dfe509f2c7720a5185347786a
parent903dcd03b6bad9428a0bebf3509e09818b7d6d12
Bug 15845: Renewal date in circulation.pl is not always correct and not even used

If you have a patron category with a hard renewal date, the enrolllment
period will be zero. You cannot calculate the renewal date as is done
in the script currently.

Even more, the renewaldate template var is not even used.

Test plan:
[1] Verify that checkin/checkout works as expected.
[2] Git grep on renewaldate
[3] Check the code in circulation.pl for "$renew"

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 393308907ca332339d1be05ee99463dc783126d4)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/circulation.pl