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

(-)a/installer/data/mysql/atomicupdate/bug_14395-add-NoRenewalBeforePrecision-syspref.sql (+2 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
2
VALUES ('NoRenewalBeforePrecision', 'date', 'Calculate "No renewal before" based on date or exact time. Only relevant for loans calculated in days, hourly loans are not affected.', 'date|exact_time', 'Choice');
(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 1199-1205 CREATE TABLE `issuingrules` ( -- circulation and fine rules Link Here
1199
  `hardduedatecompare` tinyint NOT NULL default "0", -- type of hard due date (1 = after, 0 = on, -1 = before)
1199
  `hardduedatecompare` tinyint NOT NULL default "0", -- type of hard due date (1 = after, 0 = on, -1 = before)
1200
  `renewalsallowed` smallint(6) NOT NULL default "0", -- how many renewals are allowed
1200
  `renewalsallowed` smallint(6) NOT NULL default "0", -- how many renewals are allowed
1201
  `renewalperiod` int(4) default NULL, -- renewal period in the unit set in issuingrules.lengthunit
1201
  `renewalperiod` int(4) default NULL, -- renewal period in the unit set in issuingrules.lengthunit
1202
  `norenewalbefore` int(4) default NULL, -- no renewal allowed until X days or hours before due date. In the unit set in issuingrules.lengthunit
1202
  `norenewalbefore` int(4) default NULL, -- no renewal allowed until X days or hours before due date.
1203
  `auto_renew` BOOLEAN default FALSE, -- automatic renewal
1203
  `auto_renew` BOOLEAN default FALSE, -- automatic renewal
1204
  `reservesallowed` smallint(6) NOT NULL default "0", -- how many holds are allowed
1204
  `reservesallowed` smallint(6) NOT NULL default "0", -- how many holds are allowed
1205
  `branchcode` varchar(10) NOT NULL default '', -- the branch this rule is for (branches.branchcode)
1205
  `branchcode` varchar(10) NOT NULL default '', -- the branch this rule is for (branches.branchcode)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 248-253 Circulation: Link Here
248
                  Calendar: the calendar to skip all days the library is closed.
248
                  Calendar: the calendar to skip all days the library is closed.
249
                  Datedue: the calendar to push the due date to the next open day
249
                  Datedue: the calendar to push the due date to the next open day
250
        -
250
        -
251
            - Calculate "No renewal before" based on
252
            - pref: NoRenewalBeforePrecision
253
              choices:
254
                  date: date.
255
                  exact_time: exact time.
256
            - Only relevant for loans calculated in days, hourly loans are not affected.
257
        -
251
            - When renewing checkouts, base the new due date on
258
            - When renewing checkouts, base the new due date on
252
            - pref: RenewalPeriodBase
259
            - pref: RenewalPeriodBase
253
              choices:
260
              choices:
254
- 

Return to bug 14395