]> git.evergreen-ils.org Git - working/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:30 +0000 (13:08 -0400)
commita9821ca3b6b4fa508fc11e97740459b23c970641
tree95fd1ef5f80da0ca7cd81a64fa78ff839a18407e
parentb04ecabb9346b113d37809a31a7ee39e9111421c
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