"forgive" overdues when marking an item lost
authorJeff Godin <jgodin@tadl.org>
Tue, 6 Dec 2011 20:20:44 +0000 (15:20 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 16 Jan 2013 16:44:49 +0000 (11:44 -0500)
commit5af8ee3eb7832c3a98817f3dad7b99767011bf52
tree76e47a6d4888c15f85ccba88e3157d31b9c7d5f8
parent45166c9e9e50eee4ece426d917752fbd3475a966
"forgive" overdues when marking an item lost

New option for forgiving (as opposed to voiding) overdues on
a circ when marking the item lost:

When circ.forgive_overdue_on_lost is set, attempt to make a
payment of type "Forgive" on the transaction for the amount
of outstanding overdue billings.

Only outstanding bills of type 1 (Overdue materials) will
be paid, and only the first contiguous grouping. If the
system finds an outstanding billing of type other than 1,
it will pay what it has found up to that point.

circ.forgive_overdue_on_lost has priority over the "void"
version of the same setting, if both happen to be set.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm