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 626-632 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
626
('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo'),
626
('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo'),
627
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
627
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
628
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
628
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
629
('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'),
629
('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'),
630
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
630
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
631
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
631
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
632
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
632
('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 290-295 Circulation: Link Here
290
                  Days: circulation rules only.
290
                  Days: circulation rules only.
291
                  Calendar: the calendar to skip all days the library is closed.
291
                  Calendar: the calendar to skip all days the library is closed.
292
                  Datedue: the calendar to push the due date to the next open day
292
                  Datedue: the calendar to push the due date to the next open day
293
                  Dayweek: the calendar to push the due date to the next open day on the same weekday
293
        -
294
        -
294
            - Calculate "No renewal before" based on
295
            - Calculate "No renewal before" based on
295
            - pref: NoRenewalBeforePrecision
296
            - pref: NoRenewalBeforePrecision
296
- 

Return to bug 15260