]> git.evergreen-ils.org Git - Evergreen.git/commit
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:23 +0000 (13:08 -0400)
commitbadbf9fe3c861e8d62f69928b3a792758b5c253b
tree441ea9b2c7d773903407c0fa6e327245ed8b4af8
parent500bbd6cb736a8daa0979a99b258df1ca7fac206
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