@@ -, +, @@ MaxOutstandingBlockAutoRenew --- installer/data/mysql/atomicupdate/bug_YYYY.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_YYYY.sql --- a/installer/data/mysql/atomicupdate/bug_YYYY.sql +++ a/installer/data/mysql/atomicupdate/bug_YYYY.sql @@ -0,0 +1,3 @@ +INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) +VALUES ('MaxOutstandingBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than maxoutstanding','YesNo') + --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -222,6 +222,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'), +('MaxOutstandingBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than maxoutstanding','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 @@ -408,6 +408,13 @@ Circulation: yes: Block no: Allow - renewing of items. + - + - If patron owe more than the value of maxoutstanding, + - pref: MaxOutstandingBlockAutoRenew + choices: + yes: Block + no: Allow + - his/her auto renewals. Checkin Policy: - - pref: BlockReturnOfWithdrawnItems --