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.
As far as I can tell, this was implemented in bug 21727. *** This bug has been marked as a duplicate of bug 21727 ***
*** This bug has been marked as a duplicate of bug 21747 ***
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 :)
Thanks, Martin! This resolves a huge pain point for several of our libraries.