"forgive" overdues when marking an item lost
authorJeff Godin <jgodin@tadl.org>
Tue, 6 Dec 2011 20:20:44 +0000 (15:20 -0500)
committerJeff Godin <jgodin@tadl.org>
Fri, 9 Dec 2011 20:55:08 +0000 (15:55 -0500)
commit001769315df6907ea4820b11637372a017c42bd4
tree57c249b33700a4ab7b4e639da2cd8fec529e12df
parent35ef2ba392d1ebd10ed5917da68ac8ebbbd9f1f2
"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