]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1830089: close transaction and update copy status on payment or adjust to zero user/jeffdavis/lp1830089-lost-and-paid-on-adjust-to-zero
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 6 Jun 2019 21:30:34 +0000 (14:30 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 10 Jun 2019 05:06:00 +0000 (22:06 -0700)
commit77d0e6665a12714620d5718007ed725188ea36be
tree1375e761188eefa4dfbde81b217c1235b5810b53
parentd2fe58a5634583d289d56147c62387592834bd5d
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm