Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/accounting.pref
Julian Maurice d8163c0fc5 Bug 30563: Add syspref to make the "cash register" field mandatory
Test plan:
1. Apply patch and run updatedatabase
2. Enable 'UseCashRegisters' syspref and create at least one cash
   register for your library
3. Verify that you have several authorized values in the 'PAYMENT_TYPE'
   category. One of them should be 'CASH'
4. Go to a patron accounting tab, create a manual invoice and go to the
   payment form. Select payment type 'CASH' and verify that you cannot
   submit the form if no cash register is selected.
   Select another payment type and verify that you can submit the form
   even if no cash register is selected
5. Set syspref 'RequireCashRegister' to 'always require a cash register'
6. Repeat step 4 but this time you should not be able to submit the form
   if no cash register is selected, no matter which payment type is
   selected.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00

58 lines
2.7 KiB
Text

Accounting:
Policy:
-
- pref: AccountAutoReconcile
choices:
1: "Do"
0: "Don't"
- reconcile patron balances automatically on each transaction adding debits or credits.
-
- pref: FinePaymentAutoPopup
choices:
1: "Do"
0: "Don't"
- automatically display a print dialog for a payment receipt when making a payment.
-
- pref: RequirePaymentType
choices:
0: "Don't require"
1: "Require"
- staff to select a payment type when a payment is made.
- This preference has no effect when <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseCashRegisters">UseCashRegisters</a> is enabled or when no payment types are defined in the PAYMENT_TYPE authorised value category.
-
- pref: RoundFinesAtPayment
choices:
1: Do
0: "Don't"
- round fines to the nearest cent when collecting payments. Enabling this preference allows paying fines of partial cents which may not be visible in the interface.
Features:
-
- pref: UseCashRegisters
default: no
choices:
1: "Use"
0: "Don't use"
- " cash registers with the accounting system to track payments."
-
- "When collecting a payment, "
- pref: RequireCashRegister
default: no
choices:
no: "require a cash register only when the CASH payment type is selected"
yes: "always require a cash register"
- " (Requires UseCashRegisters)"
-
- pref: EnablePointOfSale
default: no
choices:
1: "Enable"
0: "Disable"
- ' the point of sale feature to allow anonymous transactions with the accounting system. (Requires <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseCashRegisters">UseCashRegisters</a>)'
-
- pref: AutoCreditNumber
choices:
'': 'Do not automatically generate credit numbers'
annual: 'Automatically generate credit numbers in the form <year>-0001'
branchyyyymmincr: 'Automatically generate credit numbers in the form <branchcode>yyyymm0001'
incremental: 'Automatically generate credit numbers in the form 1, 2, 3'
- Automatic generation also has to be enabled for each credit type (<a href="/cgi-bin/koha/admin/credit_types.pl">Configure credit types</a>)