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 646-651 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
646
('UseACQFrameworkForBiblioRecords','0','','Use the ACQ framework for the catalog details','YesNo'),
646
('UseACQFrameworkForBiblioRecords','0','','Use the ACQ framework for the catalog details','YesNo'),
647
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
647
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
648
('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'),
648
('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'),
649
('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo'),
649
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
650
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
650
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
651
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
651
('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'),
652
('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 (+21 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.
16
        -
17
            - pref: FinePaymentAutoPopup
18
              choices:
19
                  yes: "Do"
20
                  no: "Don't"
21
            - automatically display a print dialog for a payment receipt when making a payment..
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-15 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
Lines 889-900 Circulation: Link Here
889
            - pref: ProcessingFeeNote
881
            - pref: ProcessingFeeNote
890
              type: textarea
882
              type: textarea
891
              class: code
883
              class: code
892
        -
893
            - pref: FinePaymentAutoPopup
894
              choices:
895
                  yes: "Do"
896
                  no: "Don't"
897
            - automatically display a print dialog for a payment receipt when making a payment..
898
    Self check-in module:
884
    Self check-in module:
899
        -
885
        -
900
            - "Include the following HTML on the self check-in screen:"
886
            - "Include the following HTML on the self check-in screen:"
901
- 

Return to bug 23321