]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1198475: Add a new, optional, Lost and Paid copy status.
authorJason Stephenson <jason@sigio.com>
Fri, 6 Jun 2014 00:49:41 +0000 (20:49 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 14 Jul 2014 12:30:43 +0000 (08:30 -0400)
commit64d321c68b2dde3b4e83fdca36c8ccf7acec8aba
tree2107a4f3dae2cc88bb8a830aa954158048c679c2
parent76686de7a0acd689466122a209b38d6db27e86fa
LP1198475: Add a new, optional, Lost and Paid copy status.

Add the Lost and Paid status to config.copy_status.

Add org_unit_settig to control if the copy status is used.

Add checks to O::A::Circ::Money::make_payments to check for LOST
status and org_unit setting and change the copy status to
Lost and Paid as appropriate.

Also add checks for Lost and Paid copy status wherever LOST copy
status is used.

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.

Add pgTAP tests for the existence of the Lost and Paid copy status
and the new org_unit setting to control if it isused.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
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/Const.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/t/lp1198475-lost-and-paid-status.pg [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.lost-and-paid-status.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/server/circ/util.js