Calculate penalties when marking items lost
authorJason Etheridge <jason@esilibrary.com>
Thu, 8 Sep 2011 20:08:30 +0000 (16:08 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 8 Sep 2011 20:41:41 +0000 (16:41 -0400)
commit6d21b9431c8d73c88b8d41c874ff766c11f90746
treeeb1189876578e796652512fdb00db7392727f855
parentcf693d572b0c44b666919d9244dbeacbf46d1e1a
Calculate penalties when marking items lost

For example, if you a max fines threshold of $10, and a lost processing fee of
$50, currently if you mark an item lost (or an item ages to lost) and a patron
gets billed that $50, they won't automatically have the max fines penalty.  This
change calculates such penalties at the time a copy is marked and lost and money
is juggled, within the same transaction.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm