[Koha-bugs] [Bug 30563] Add system preference to make the cash register field required when collecting a payment

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 19 12:11:10 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30563

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 133393
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133393&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list