--- /dev/null
+$DBversion = 'XXX'; # will be replaced by the RM
+if ( CheckVersion($DBversion) ) {
+
+ $dbh->do(qq{
+ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
+ ('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo')
+ });
+
+ SetVersion($DBversion);
+ print "Upgrade to $DBversion done (Bug 23321 - Add cash register system preference)\n";
+}
('UseACQFrameworkForBiblioRecords','0','','Use the ACQ framework for the catalog details','YesNo'),
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
('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'),
+('UseCashRegisters','0','','Use cash registers with the accounting system and assign patron transactions to them.','YesNo'),
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
('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'),
<div id="menu">
<ul>
+[% IF ( accounts ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Accounts" href="/cgi-bin/koha/admin/preferences.pl?tab=accounts">Accounts</a></li>
[% IF ( acquisitions ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Acquisitions" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">Acquisitions</a></li>
[% IF ( admin ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Administration" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">Administration</a></li>
[% IF ( authorities ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Authority Control" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">Authorities</a></li>
--- /dev/null
+Accounts:
+ Policy:
+ -
+ - pref: UseCashRegisters
+ default: no
+ choices:
+ yes: "Use"
+ no: "Don't use"
+ - " cash registers with the accounting system to track payments."
+ -
+ - pref: AccountAutoReconcile
+ choices:
+ yes: "Do"
+ no: "Do not"
+ - reconcile patron balances automatically on each transaction adding debits or credits.
+ -
+ - pref: FinePaymentAutoPopup
+ choices:
+ yes: "Do"
+ no: "Don't"
+ - automatically display a print dialog for a payment receipt when making a payment..
no: "Don't allow"
- patrons to submit notes about checked out items.
- Accounts:
- -
- - pref: AccountAutoReconcile
- choices:
- yes: "Do"
- no: "Do not"
- - reconcile patron balances automatically on each transaction adding debits or credits.
-
Checkout Policy:
-
- pref: AutoReturnCheckedOutItems
- pref: ProcessingFeeNote
type: textarea
class: code
- -
- - pref: FinePaymentAutoPopup
- choices:
- yes: "Do"
- no: "Don't"
- - automatically display a print dialog for a payment receipt when making a payment..
Self check-in module:
-
- "Include the following HTML on the self check-in screen:"