Bug 38972

Summary: The balanced total due value is preventing payment on transactions page
Product: Koha Reporter: Johanna Räisä <johanna.raisa>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Balanced total due value on transactions

Description Johanna Räisä 2025-01-27 12:07:24 UTC
Created attachment 177194 [details]
Balanced total due value on transactions

Calculating total due on transaction page is giving a result that cannot be paid if an account line is partly paid and some credit is added.

The balance is taking the credit into account and showing total due as zero even there is payment that you could pay. The payout amount does not work since you have to pay same amount as in total due and payment cannot be zero.
Comment 1 Lucas Gass (lukeg) 2025-08-18 19:23:42 UTC
Johanna,

When you recreate this does it throw this exception in the logs? 


Exception 'Koha::Exceptions::ParameterTooHigh' thrown 'Amount to payout (0.75) is higher than amountoutstanding (0)'