@@ -, +, @@ OPACFineNoRenewalsBlockAutoRenew --- installer/data/mysql/atomicupdate/bug_15582.sql | 3 +++ installer/data/mysql/sysprefs.sql | 1 + .../prog/en/modules/admin/preferences/circulation.pref | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_15582.sql --- a/installer/data/mysql/atomicupdate/bug_15582.sql +++ a/installer/data/mysql/atomicupdate/bug_15582.sql @@ -0,0 +1,3 @@ +INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) +VALUES ('OPACFineNoRenewalsBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than OPACFineNoRenewals','YesNo') + --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -233,6 +233,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('MaxItemsForBatch','1000',NULL,'Max number of items record to process in a batch (modification or deletion)','Integer'), ('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'), ('maxoutstanding','5','','maximum amount withstanding to be able make holds','Integer'), +('OPACFineNoRenewalsBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than OPACFineNoRenewals','YesNo'), ('maxRecordsForFacets','20',NULL,NULL,'Integer'), ('maxreserves','50','','Define maximum number of holds a patron can place','Integer'), ('MaxSearchResultsItemsPerRecordStatusCheck','20','','Max number of items per record for which to check transit and hold status','Integer'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -421,6 +421,13 @@ Circulation: yes: Block no: Allow - renewing of items. + - + - If patron owe more than the value of OPACFineNoRenewals, + - pref: OPACFineNoRenewalsBlockAutoRenew + choices: + yes: Block + no: Allow + - his/her auto renewals. Checkin Policy: - - pref: BlockReturnOfWithdrawnItems --