View | Details | Raw Unified | Return to bug 23051
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_23051_add_RenewAccruingItemWhenPaid_syspref.perl (+8 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
4
    $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('RenewAccruingItemWhenPaid', '0', 'If enabled, when the fines on an item accruing is paid off, attempt to renew that item', '', 'YesNo'); | );
5
6
    SetVersion( $DBversion );
7
    print "Upgrade to $DBversion done (Bug 23051 - Add RenewAccruingItemWhenPaid syspref)\n";
8
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 515-520 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
515
('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'),
515
('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'),
516
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
516
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
517
('RefundLostOnReturnControl','CheckinLibrary','CheckinLibrary|ItemHomeBranch|ItemHoldingBranch','If a lost item is returned, choose which branch to pick rules for refunding.','Choice'),
517
('RefundLostOnReturnControl','CheckinLibrary','CheckinLibrary|ItemHomeBranch|ItemHoldingBranch','If a lost item is returned, choose which branch to pick rules for refunding.','Choice'),
518
('RenewAccruingItemWhenPaid','0','','If enabled, when the fines on an item accruing is paid off, attempt to renew that item','YesNo'),
518
('RenewalLog','0','','If ON, log information about renewals','YesNo'),
519
('RenewalLog','0','','If ON, log information about renewals','YesNo'),
519
('RenewalPeriodBase','date_due','date_due|now','Set whether the renewal date should be counted from the date_due or from the moment the Patron asks for renewal ','Choice'),
520
('RenewalPeriodBase','date_due','date_due|now','Set whether the renewal date should be counted from the date_due or from the moment the Patron asks for renewal ','Choice'),
520
('RenewalSendNotice','0','',NULL,'YesNo'),
521
('RenewalSendNotice','0','',NULL,'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 488-493 Circulation: Link Here
488
                  no: Allow
488
                  no: Allow
489
            - their auto renewals.
489
            - their auto renewals.
490
        -
490
        -
491
            - If a patron pays off all fines on an overdue item that is accruing fines
492
            - pref: RenewAccruingItemWhenPaid
493
              choices:
494
                  yes: Renew
495
                  no: "Don't renew"
496
            - the item automatically.
497
        -
491
            - pref: ItemsDeniedRenewal
498
            - pref: ItemsDeniedRenewal
492
              type: textarea
499
              type: textarea
493
              syntax: text/x-yaml
500
              syntax: text/x-yaml
494
- 

Return to bug 23051