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

Return to bug 15260