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

(-)a/installer/data/mysql/atomicupdate/bug_15260-add_Dayweek_option_to_useDaysMode_syspref.perl (+8 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( 'UPDATE systempreferences SET options = "Calendar|Days|Datedue|Dayweek", explanation = "Choose the method for calculating due date: select Calendar, Datedue or Dayweek to use the holidays module, and Days to ignore the holidays module" WHERE variable = "useDaysMode"' );
4
5
    # Always end with this (adjust the bug info)
6
    SetVersion( $DBversion );
7
    print "Upgrade to $DBversion done (Bug XXXXX - description)\n";
8
}
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 658-664 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
658
('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo'),
658
('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo'),
659
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
659
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
660
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
660
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
661
('useDaysMode','Calendar','Calendar|Days|Datedue','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Choice'),
661
('useDaysMode','Calendar','Calendar|Days|Datedue|Dayweek','Choose the method for calculating due date: select Calendar, Datedue or Dayweek to use the holidays module, and Days to ignore the holidays module','Choice'),
662
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
662
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
663
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
663
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
664
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
664
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +1 lines)
Lines 286-291 Circulation: Link Here
286
                  Days: circulation rules only.
286
                  Days: circulation rules only.
287
                  Calendar: the calendar to skip all days the library is closed.
287
                  Calendar: the calendar to skip all days the library is closed.
288
                  Datedue: the calendar to push the due date to the next open day
288
                  Datedue: the calendar to push the due date to the next open day
289
                  Dayweek: the calendar to push the due date to the next open day on the same weekday
289
        -
290
        -
290
            - Calculate "No renewal before" based on
291
            - Calculate "No renewal before" based on
291
            - pref: NoRenewalBeforePrecision
292
            - pref: NoRenewalBeforePrecision
292
- 

Return to bug 15260