http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14390 --- Comment #10 from bondiurbano <costalc@gmail.com> --- (In reply to Galen Charlton from comment #2)
I don't think that renewing a loan actually converts accrued overdue fines to committed/closed ones. Rather, I think the sequence of events is this:
- make loan - loan becomes overdue - accrued fines start getting calculated (accounttype = FU) - loan is renewed - accrued fine record is not changed (and while the fine itself shouldn't go away, the accounttype *ought* to be changed to F and the description updated to indicate that the loan was renewed while overdue) - loan becomes overdue again - accrued fines start getting calculated on a second accountlines row - loan gets returned
During the return processing, _FixOverduesOnReturn will change the accounttype of accrued fines from FU to F. However, it currently assumes that there is exactly one such fine; if there are multiple ones, only one gets its accounttype changed.
Galen, I will think this problem all over again. May be it works. Sorry. -- You are receiving this mail because: You are watching all bug changes.