Address Launchpad Bug 793550. user/bshum/lp793550
authorJason Stephenson <jstephenson@mvlc.org>
Mon, 1 Oct 2012 15:32:15 +0000 (11:32 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 3 Oct 2012 15:40:05 +0000 (11:40 -0400)
commitd448a903a63f463a02d37c4684ebb8e5d220fb40
tree1ca1947f7f2740f43695b9433bc7a3628898ee0f
parentcad06040e5dff0f8daad688c99ce22ffc55ff747
Address Launchpad Bug 793550.

Check for stop fines reason of CHECKIN or RENEW before closing a circulation
transaction when the balance reaches zero.

Also, if the stop fines reason is LOST, then check a new ou setting,
circ.lost.xact_finish_on_zero, to determine if the transaction is closed or
kept open.  The setting is checked for the circulation copy's circ_lib.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.coust_lost_xact_finish_on_zero.sql [new file with mode: 0644]