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

            Bug ID: 38975
           Summary: Payment Type Validation Fails or Causes 500 Error When
                    Providing Change to Patron
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Point of Sale
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

To recreate this issue:

1. Set up the Point of Sale (POS) system preference
 --Enable the "EnablePointOfSale" pref
 --Enable the "UseCashRegisters" pref
 --Set up a cash register
 --Enable the "RequirePaymentType"

2. Go to a patron account and create a manual invoice - save and pay. 

3. Make or leave the amount tendered as the charged amount so that you don't
have to provide any change. Then attempt to confirm the transaction without
adding a payment type. 
 --"This field is required." will pop up next to payment type. 

4. Now change the amount tendered to a higher amount so that you have to
provide change to the patron. Then attempt to confirm the transaction type
without adding a payment type. 
 --"The amount collected is more than the outstanding charge" pop up box will
appear confirming the change you will provide to the patron. Select "Yes". This
will cause a 500 error to occur or in some library cases it will go through
without providing an error. The completed transaction will not include a
payment type and can cause issues with accounting.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to