Calculate penalties when marking items lost collab/phasefx/generate_penalty_with_lost_items
authorJason Etheridge <jason@esilibrary.com>
Thu, 8 Sep 2011 20:08:30 +0000 (16:08 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 8 Sep 2011 20:27:15 +0000 (16:27 -0400)
commite844148c68c04095c4496243cf6edd0a42c5f273
tree91a3dd993b77ae9ca8d44d9f10647edd90444172
parent642dae8cbd68410b80f518ac1683e64003735738
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm