]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1412893: Only apply lost and paid status with the proper transactions
authorBen Shum <bshum@biblio.org>
Wed, 21 Jan 2015 21:30:53 +0000 (16:30 -0500)
committerBen Shum <bshum@biblio.org>
Fri, 23 Jan 2015 21:46:02 +0000 (16:46 -0500)
commit609db84f0499cf7083b09d1786ace1a60f71986e
tree1356f14d942c73374801eb9cfbc361bbc9208419
parenteda58b7612de8c7438d545b6b97693b751d46e4b
LP#1412893: Only apply lost and paid status with the proper transactions

As discovered while testing the lost and paid feature, when closing earlier transactions where
the item is currently lost, it could change the item status to lost and paid prematurely.

Change the logic so that it only does this if the current transaction being closed either has
a status of lost or longoverdue.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm