[Koha-bugs] [Bug 17135] Fine for the previous overdue may get overwritten by the next one

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 16:15:36 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17135

--- Comment #1 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
Dunno how to resolve this problem properly

- reintroduce due date to the issue record <-> fine record matching in
UpdateFine()
- unlink fine record from the issue record on renewal (set issue_id to NULL in
fine record)
- set fine type to 'F' on renewal, and ignore records of such type in the
matching code in UpdateFine()

or maybe some combination of the above? I think this problem can happen only
when there is at least 1 renewal of due item involved (any kind of renewal),
but I'm not entirely sure. All that legacy fine calculation code works in truly
mysterious ways.

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


More information about the Koha-bugs mailing list