LP#1830089: close transaction and update copy status on payment or adjust to zero
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 6 Jun 2019 21:30:34 +0000 (14:30 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 5 Nov 2021 17:08:47 +0000 (13:08 -0400)
commitd05d6c3c233b2a60c2dd6f2c0733b091e34d77b7
treed08ce0ba12c3fbf9ca58a63e1a3640fa48cc3453
parent920b306c7547c56f528f4d2cec70d47134b8f72a
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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm