Bug 24431 - Convert overpayment on accruing fines into credits
Summary: Convert overpayment on accruing fines into credits
Status: RESOLVED DUPLICATE of bug 21747
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Kyle M Hall
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-15 19:54 UTC by Andrew Fuerste-Henry
Modified: 2020-01-30 13:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2020-01-15 19:54:58 UTC
See Kyle's proposal on Bug 13044.

To recreate issue:
- find/create a checkout with an accruing fine
- pay off accruing fine in full
- check item in backdated so the final fine is less than the amount paid
- fine is retained on patron account with a negative amount due
- because this is a negative fine rather than a true credit, it cannot be reconciled


To fix this, we should set the amountoutstanding of the fine to 0 and generate a credit for the overpaid amount.
Comment 1 Kyle M Hall 2020-01-30 12:32:51 UTC
As far as I can tell, this was implemented in bug 21727.

*** This bug has been marked as a duplicate of bug 21727 ***
Comment 2 Martin Renvoize 2020-01-30 13:09:13 UTC

*** This bug has been marked as a duplicate of bug 21747 ***
Comment 3 Martin Renvoize 2020-01-30 13:09:54 UTC
I think it's actually 21747 which switches UpdateFine to using the adjust method added in bug 21727 and as such is the duplicate here :)
Comment 4 Andrew Fuerste-Henry 2020-01-30 13:58:28 UTC
Thanks, Martin! This resolves a huge pain point for several of our libraries.