Bug 41213

Summary: 500 Error: The amount collected from the patron is higher than the amount to be paid
Product: Koha Reporter: Eric Swenson <eric>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Showing the amount outstanding, payment, and tendered amounts

Description Eric Swenson 2025-11-07 00:24:53 UTC
Created attachment 189247 [details]
Showing the amount outstanding, payment, and tendered amounts

To recreate:
  1. Create a manual invoice 
  2. Make a payment on the invoice BUT:
       1. Set the "amount to be paid" to be less than the total outstanding
       2. Set the Amount Tendered to be more than what is being paid

The "Change to be given" value is correct, but when you confirm the action you get a 500 error and the payment is not tracked in the accountlines.