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

(-)a/installer/data/mysql/atomicupdate/bug_23321_preferences.perl (+11 lines)
Line 0 Link Here
1
$DBversion = 'XXX';    # will be replaced by the RM
2
if ( CheckVersion($DBversion) ) {
3
4
    $dbh->do(qq{
5
        INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
6
        ('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo')
7
    });
8
9
    SetVersion($DBversion);
10
    print "Upgrade to $DBversion done (Bug 23321 - Add cash register system preference)\n";
11
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 640-645 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
640
('UseACQFrameworkForBiblioRecords','0','','Use the ACQ framework for the catalog details','YesNo'),
640
('UseACQFrameworkForBiblioRecords','0','','Use the ACQ framework for the catalog details','YesNo'),
641
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
641
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
642
('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'),
642
('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'),
643
('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo'),
643
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
644
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
644
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
645
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
645
('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'),
646
('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'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (+1 lines)
Lines 1-5 Link Here
1
<div id="menu">
1
<div id="menu">
2
<ul>
2
<ul>
3
[% IF ( accounts ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Accounts" href="/cgi-bin/koha/admin/preferences.pl?tab=accounts">Accounts</a></li>
3
[% IF ( acquisitions ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Acquisitions" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">Acquisitions</a></li>
4
[% IF ( acquisitions ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Acquisitions" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">Acquisitions</a></li>
4
[% IF ( admin ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Administration" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">Administration</a></li>
5
[% IF ( admin ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Administration" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">Administration</a></li>
5
[% IF ( authorities ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Authority Control" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">Authorities</a></li>
6
[% IF ( authorities ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Authority Control" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">Authorities</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/accounts.pref (+15 lines)
Line 0 Link Here
1
Accounts:
2
    Policy:
3
        -
4
            - pref: UseCashRegisters
5
              default: no
6
              choices:
7
                yes: "Use"
8
                no: "Don't use"
9
            - " cash registers with the accounting system to track payments."
10
        -
11
            - pref: AccountAutoReconcile
12
              choices:
13
                  yes: "Do"
14
                  no: "Do not"
15
            - reconcile patron balances automatically on each transaction adding debits or credits.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-9 lines)
Lines 158-171 Circulation: Link Here
158
                  no: "Don't allow"
158
                  no: "Don't allow"
159
            - patrons to submit notes about checked out items.
159
            - patrons to submit notes about checked out items.
160
160
161
    Accounts:
162
        -
163
            - pref: AccountAutoReconcile
164
              choices:
165
                  yes: "Do"
166
                  no: "Do not"
167
            - reconcile patron balances automatically on each transaction adding debits or credits.
168
169
    Checkout Policy:
161
    Checkout Policy:
170
        -
162
        -
171
            - pref: AutoReturnCheckedOutItems
163
            - pref: AutoReturnCheckedOutItems
172
- 

Return to bug 23321