[Koha-bugs] [Bug 23091] Add options to charge new or restore forgiven overdues when a lost item is returned

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 5 10:09:54 CEST 2020


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

--- Comment #18 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Andrew Fuerste-Henry from comment #16)
> On step 18 of my plan above, I got this error:
> "Unknown error code LostItemFeeCharged at /kohadevbox/koha/circ/returns.pl
> line 538"

Good catch, I forgot to add the template handling in there.

> Other thoughts:
> - I like the general structure here. where you've chosen to put this setting
> makes sense

> - What happens if my accruing fine has been fully/partially written off or
> paid?

Glad you asked this, as I started to ask the same question myself.. The
existing code prior to this patch writes off/forgives any outstanding debt on
the overdue as opposed to the original amount of the debt.. so if the patron
has already paid or partially paid the accruing fine prior to reporting the
item as lost then only the outstanding debt will be forgiven.  I'm not sure
that logic makes sense to start with but didn't want to change it here as it
probably warrants another discussion.

This patch uses the actual forgiven credit line to restore the outstanding
amount.. so if there as a partial payment then we only restore the previously
unpaid part of the debt.

Hope that makes sense.

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


More information about the Koha-bugs mailing list