Bug 27835: Add new syspref ChargeFinesOnCloseDay
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
1c4b4cbd91
commit
5007e24e90
|
|
@ -0,0 +1,10 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
|
||||
$dbh->do(q|
|
||||
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
|
||||
VALUES ('ChargeFinesOnCloseDay', '1', NULL, 'Charge fines on close day.', 'YesNo')
|
||||
|);
|
||||
|
||||
NewVersion( $DBversion, 27835, "Add new system preference ChargeFinesOnCloseDay");
|
||||
}
|
||||
|
|
@ -122,6 +122,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('casServerUrl','https://localhost:8443/cas','','URL of the cas server','Free'),
|
||||
('CatalogModuleRelink','0',NULL,'If OFF the linker will never replace the authids that are set in the cataloging module.','YesNo'),
|
||||
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
|
||||
('ChargeFinesOnCloseDay','1',NULL,'Charge fines on close day.','YesNo')
|
||||
('CheckPrevCheckout','hardno','hardyes|softyes|softno|hardno','By default, for every item checked out, should we warn if the patron has borrowed that item in the past?','Choice'),
|
||||
('CheckPrevCheckoutDelay','0', NULL,'Maximum number of days that will trigger a warning if the patron has borrowed that item in the past when CheckPrevCheckout is enabled.','free'),
|
||||
('CircAutoPrintQuickSlip','qslip',NULL,'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.','Choice'),
|
||||
|
|
|
|||
|
|
@ -969,7 +969,13 @@ Circulation:
|
|||
off: "Don't calculate"
|
||||
production: Calculate and charge
|
||||
- fines (when <code>cronjobs/fines.pl</code> is being run).
|
||||
- '<br><strong>NOTE:</strong> If the cronjobs/fines.pl cronjob is being run, accruing and final fines will be calculated when the cron runs and accruing fines will be finalized when an item is returned. If <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CalculateFinesOnReturn">CalculateFinesOnReturn</a> is enabled, final fines will be calculated when an item is returned.'
|
||||
- '<br><strong>NOTE:</strong> If the cronjobs/fines.pl cronjob is being run, accruing and final fines will be calculated when the cron runs and accruing fines will be finalized when an item is returned. If <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CalculateFinesOnReturn">CalculateFinesOnReturn</a> is enabled, final fines will be calculated when an item is returned.<br/>'
|
||||
- pref: ChargeFinesOnCloseDay
|
||||
type: choice
|
||||
choices:
|
||||
0: "Don't charge"
|
||||
1: Charge
|
||||
- on close days. If set the fines.pl cronjob will not generate fines when run on days marked as closed in the calendar.
|
||||
-
|
||||
- If a lost item is returned, apply the refunding rules defined for the
|
||||
- pref: RefundLostOnReturnControl
|
||||
|
|
|
|||
Loading…
Reference in New Issue