Bug 11577: Add 'auto_renew' and 'auto_too_soon' to renewal page
authorHolger Meißner <h.meissner.82@web.de>
Wed, 21 May 2014 13:15:11 +0000 (15:15 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 17 Sep 2014 22:23:16 +0000 (19:23 -0300)
commit555d0d5898faccaf0d8c4c3c39630a23089b57c2
tree8352a257d08136d05a2d1131e02ec052393592dc
parentb49bcfef092b86d875749ce79501aec77d055515
Bug 11577: Add 'auto_renew' and 'auto_too_soon' to renewal page

This patch adds the new renewal errors 'auto_renew' and 'auto_too_soon'
to the renewal interface.

To test:

1) Issue two items:
   - one with automatic renewal and no value for "No renewal before"
   - another with automatic renewal and a value for "No renewal before"
2) Try to renew:
   Home > Circulation > Renew
3) Confirm there are error messages explaining that the items have been
   scheduled for automatic renewal and that one of the renewals is also
   premature.
4) If global syspref AllowRenewalLimitOverride is set to "Allow" you
   should be given the option to override.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/renew.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt