Koha/installer/data/mysql/mandatory
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
..
account_credit_types.sql
account_debit_types.sql Bug 27946: (QA follow-up) Remove 'scan' terminology, requests may not be scans 2022-01-28 11:09:07 -10:00
audio_alerts.sql
auth_val_cat.sql Bug 30373: Add TYPEDOC authorised_values_category 2022-04-21 13:41:35 -10:00
keyboard_shortcuts.sql
message_transport_types.sql
sample_notices_message_attributes.sql Bug 29586: Fix typos in installer files 2021-12-13 15:52:29 -10:00
sample_notices_message_transports.sql Bug 29586: Fix typos in installer files 2021-12-13 15:52:29 -10:00
subtag_registry.sql Bug 29596: Add Yiddish language 2022-02-01 21:39:39 -10:00
sysprefs.sql Bug 30563: Add syspref to make the "cash register" field mandatory 2022-05-06 10:33:09 -10:00
userflags.sql Bug 19532: Database and installer stuff 2022-03-14 22:45:50 -10:00
userpermissions.sql Bug 26346: Database changes 2022-04-12 17:13:02 +02:00