[Koha-bugs] [Bug 14390] On renewal, the last fine is not marked as accounttype 'F' when item is checked in.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 22 17:56:04 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14390

--- Comment #2 from Galen Charlton <gmcharlt at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list