LP1198475: The code that actually checks settings and changes status.
authorJason Stephenson <jason@sigio.com>
Sun, 3 Nov 2013 15:18:17 +0000 (10:18 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 3 Jun 2014 16:59:07 +0000 (12:59 -0400)
commit3fc3cba43a1b7979ebbf2042abc8e8d92fd11647
tree0e3a6e1f8f805a5110b6c4705d85353eda53f841
parent328ae0101ab277bb302245c4c1aaac0f72689fec
LP1198475: The code that actually checks settings and changes status.

Add checks to O::A::Circ::Money::make_payments to check for LOST
status and org_unit settings and change the status to LOST_AND_PAID
as appropriate.

Also add checks for LOST_AND_PAID copy status wherever LOST copy
status is used.

Add checks for LOSTANDPAID stop fines wherever LOST stop fines is
used.

Set the styles in the staff client of the lost and paid stop fines.

Someone might want to customize this, but for now, we just handle it
the same as lost.

Add the COPY_STATUS_LOST_AND_PAID event.

Add the event to ils_events.xml with id 7026.

Check for the event in circ/util.js in the staff client.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
14 files changed:
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm
Open-ILS/src/perlmods/lib/OpenILS/Const.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/xul/staff_client/server/circ/util.js
Open-ILS/xul/staff_client/server/patron/bill2.js
Open-ILS/xul/staff_client/server/skin/circ.css