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 639-645 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
639
('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'),
639
('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'),
640
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
640
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
641
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
641
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
642
('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'),
642
('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'),
643
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
643
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
644
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
644
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
645
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
645
('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 282-287 Circulation: Link Here
282
                  Days: circulation rules only.
282
                  Days: circulation rules only.
283
                  Calendar: the calendar to skip all days the library is closed.
283
                  Calendar: the calendar to skip all days the library is closed.
284
                  Datedue: the calendar to push the due date to the next open day
284
                  Datedue: the calendar to push the due date to the next open day
285
                  Dayweek: the calendar to push the due date to the next open day on the same weekday
285
        -
286
        -
286
            - Calculate "No renewal before" based on
287
            - Calculate "No renewal before" based on
287
            - pref: NoRenewalBeforePrecision
288
            - pref: NoRenewalBeforePrecision
288
- 

Return to bug 15260