Bug 28953 - Incorrect behavior when voiding a payment on an fine that was paid while accruing and later backdated at return such that it should not have been fined
Summary: Incorrect behavior when voiding a payment on an fine that was paid while accr...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-03 19:09 UTC by Andrew Fuerste-Henry
Modified: 2021-09-03 20:48 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2021-09-03 19:09:33 UTC
Apologies, I can't figure out how to say any of this concisely.

To recreate:
- Have an overdue item with an accruing fine
- pay the fine
- check in the item, backdated to before its due date
- confirm that your patron shows a credit for overpayment of a fine
- void your payment
- confirm patron's account is not right

The fine shows amount=0 and amountoutstanding = [whatever the original fine was]. The patron shouldn't owe us anything here.

Further complicating things, the fine doesn't show on the Make a Payment tab at all -- seems like the logic here must be to only show fines where the amountoutstanding > amount?