Bug 8236: Renewing policy in overdue or restriction case
authorLyon3 Team <koha@univ-lyon3.fr>
Mon, 9 Mar 2015 15:24:20 +0000 (16:24 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Oct 2015 17:36:55 +0000 (14:36 -0300)
commit64b0984a51cb8c74638569fb07c3315c4f9ee7d9
tree21b7e2c97d1d99319dd7274fc89108b63aabf0c2
parentb8c51bff2421528d8d01a011816b3c4e34f7a3fe
Bug 8236: Renewing policy in overdue or restriction case

This patch introduces 2 sysprefs :
    RestrictionBlockRenewing to allow/block renewal of items when patron is restricted.
    OverduesBlockRenewing to allow, block only the late ones or block all checked out items
    Default is "allow" in both case.

Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm
installer/data/mysql/atomicupdate/bug_8236-add-overduesblockrenewing.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_8236-add-restrictionblockrenewing.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-user.pl