Bug 23321: Add cash register preference
Sponsored-by: PTFS Europe Sponsored-by: Cheshire Libraries Shared Services Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
fd56dce7af
commit
4563877e35
5 changed files with 34 additions and 14 deletions
11
installer/data/mysql/atomicupdate/bug_23321_preferences.perl
Normal file
11
installer/data/mysql/atomicupdate/bug_23321_preferences.perl
Normal file
|
@ -0,0 +1,11 @@
|
|||
$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";
|
||||
}
|
|
@ -646,6 +646,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('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'),
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<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>
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
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..
|
|
@ -158,14 +158,6 @@ Circulation:
|
|||
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
|
||||
|
@ -889,12 +881,6 @@ Circulation:
|
|||
- 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:"
|
||||
|
|
Loading…
Reference in a new issue