[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
Fri Aug 26 11:32:55 CEST 2016


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

--- Comment #13 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
Proposed solution for the issues still remaining (moved from Bug 14390):

1) select the FU fine records that may need correction: for that we may need to
compare a due date from issue record and the date on the end of the fine
description - if the dates are the same, this is a correct FU record, no need
to change anything in it

2) if the dates are different, there are two possibilities:

3.a) if the fine is not accruing / item is not currently due: it's an old fine
record (either left unclosed by Bug 15675 or maybe patron renewed this item
after Bug 15675 was applied in the production database; maybe it got
overwritten in the meantime or maybe not, there is no easy way to tell): it
needs to be closed (FU -> F)

3.b) if the fine is accruing (item is due / CalcFine() returns a positive
value): this is an old record which got overwritten: leave it as FU, but
correct a due date in fine description.

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


More information about the Koha-bugs mailing list