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:58 +0000 (16:41 -0400)
commit76d95e1f1d08c6a4d1be36e8f43fa9dc57fe8a1b
treea06a2b4873b66bbe876265561704138121f9110f
parente2d50e9f062c4c28751105a107d7c2e33e5289d3
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