"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>
Tue, 29 May 2012 15:17:55 +0000 (11:17 -0400)
commitd29d41b061d7d8232e63d6173ad86f0d573924c8
tree63f9d5ec0fab88bce0a38e8f43e34ffce69933c7
parent38afe5d73588e7d2e6486796df9a15b6e33d70bb
"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