]> git.koha-community.org Git - koha.git/commit
Bug 15581: Display the latest auto renew date possible when renewing manually
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 14 Jan 2016 14:38:23 +0000 (14:38 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 2 Nov 2016 10:28:57 +0000 (10:28 +0000)
commit15b1f6c7fe472ce4b1c0f73e2f0dbb0fe05a15ad
treeb49248c5f240a0d5138a58d93782348517453645
parent53dfa997276348f70c2924bc588b3668f2dfb519
Bug 15581: Display the latest auto renew date possible when renewing manually

If an issue marked as auto_renew is renewed manually, we want to display
the latest auto renew date possible.

Test plan:
1/ Define circ rules as in the previous patch.
2/ Check a item out, mark it as an auto renewal
3/ Back date the issuedate and make sure it will be too late to renew it
4/ Use the Circulation > renew page (circ/renew.pl) to manually renew
this issue.
You should get a warning "You barcode has been scheduled for automatic renewal
and cannot be renewed anymore since DATE."
If the pref AllowRenewalLimitOverride is set, you will be allowed to
renew it anyway.

Sponsored-by: University of the Arts London
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm
circ/renew.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt
t/db_dependent/Circulation.t