"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>
Tue, 22 Jan 2013 19:38:35 +0000 (14:38 -0500)
commitbafffe14d4d5a7f8d05d5171f4c80ce110d04d26
tree0849ac304977116036e543eac68a406fe61c7c35
parentb36699603db32969f171f777b01ba23669d08c80
"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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm