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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 130-136 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
130
('ExtendedPatronAttributes','0',NULL,'Use extended patron IDs and attributes','YesNo'),
130
('ExtendedPatronAttributes','0',NULL,'Use extended patron IDs and attributes','YesNo'),
131
('FacetLabelTruncationLength','20',NULL,'Specify the facet max length in OPAC','Integer'),
131
('FacetLabelTruncationLength','20',NULL,'Specify the facet max length in OPAC','Integer'),
132
('FacetMaxCount','20',NULL,'Specify the max facet count for each category','Integer'),
132
('FacetMaxCount','20',NULL,'Specify the max facet count for each category','Integer'),
133
('FeeOnChangePatronCategory','1','','If set, when a patron changes to a category with enrolment fee, a fee is added','YesNo')
133
('FeeOnChangePatronCategory','1','','If set, when a patron changes to a category with enrolment fee, a fee is charged','YesNo')
134
('FilterBeforeOverdueReport','0','','Do not run overdue report until filter selected','YesNo'),
134
('FilterBeforeOverdueReport','0','','Do not run overdue report until filter selected','YesNo'),
135
('FineNotifyAtCheckin','0',NULL,'If ON notify librarians of overdue fines on the items they are checking in.','YesNo'),
135
('FineNotifyAtCheckin','0',NULL,'If ON notify librarians of overdue fines on the items they are checking in.','YesNo'),
136
('finesCalendar','noFinesWhenClosed','ignoreCalendar|noFinesWhenClosed','Specify whether to use the Calendar in calculating duedates and fines','Choice'),
136
('finesCalendar','noFinesWhenClosed','ignoreCalendar|noFinesWhenClosed','Specify whether to use the Calendar in calculating duedates and fines','Choice'),
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +2 lines)
Lines 10780-10788 $DBversion = "3.19.00.XXX"; Link Here
10780
if ( CheckVersion($DBversion) ) {
10780
if ( CheckVersion($DBversion) ) {
10781
    $dbh->do(q{
10781
    $dbh->do(q{
10782
        INSERT INTO `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`)
10782
        INSERT INTO `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`)
10783
        VALUES ('FeeOnChangePatronCategory','1','','If set, when a patron changes to a category with enrolment fee, a fee is added','YesNo')
10783
        VALUES ('FeeOnChangePatronCategory','1','','If set, when a patron changes to a category with enrolment fee, a fee is charged','YesNo')
10784
    });
10784
    });
10785
    print "Upgrade to $DBversion done (Bug 13697 - Option to don't add a fee, if the patron changes to a category with enrolment fee)\n";
10785
    print "Upgrade to $DBversion done (Bug 13697: Option to don't charge a fee, if the patron changes to a category with enrolment fee)\n";
10786
    SetVersion($DBversion);
10786
    SetVersion($DBversion);
10787
}
10787
}
10788
10788
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-2 / +1 lines)
Lines 164-167 Patrons: Link Here
164
           choices:
164
           choices:
165
               yes: Do
165
               yes: Do
166
               no: "Don't"
166
               no: "Don't"
167
         - add a fee when a patron changes to a category with enrolment fee.
167
         - charge a fee when a patron changes to a category with enrolment fee.
168
- 

Return to bug 13697