LP#1830089: close transaction and update copy status on payment or adjust to zero user/mccanna/lp1830089_lost_and_paid_signoff
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 6 Jun 2019 21:30:34 +0000 (14:30 -0700)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 20 Nov 2019 20:39:18 +0000 (15:39 -0500)
commit9847079acc5e6de5e93d2843113e1f206569b582
tree36a8ccea857ae30827e19d400d5ba85059eb3525
parent87a962268ee33ea9bbb55af7b2ed680ff1be0f30
LP#1830089: close transaction and update copy status on payment or adjust to zero

When you make a payment that sets the balance owed to zero, Evergreen
closes the transaction and sets the item status to Lost & Paid (if
appropriate).  Adjust to Zero should do the same thing, but hitherto it
would not update the item status.  This commit refactors some code to
ensure that Evergreen gives the same result whether you make a payment
or adjust to zero.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm