LP#1484989 Don't close xacts with checkin-generated fines
authorDan Wells <dbw2@calvin.edu>
Fri, 14 Aug 2015 19:11:16 +0000 (15:11 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 27 Aug 2015 15:52:15 +0000 (15:52 +0000)
commit4357ab325959f2ed48b2001812b1039b6714dd9a
tree70d4f274e0b360fb6442791185bcae62c5a43cf6
parent9a0d5b4bd1a365b1911713f026780d0625734fcb
LP#1484989 Don't close xacts with checkin-generated fines

If a transaction has checkin-generated fines, and previously had a
balance of zero, the rearranged billing code was prematurely closing
the transaction.  This commit separates the closing step to run after
any possible fine generation.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/live_t/10-lp1484989_dont_close_fined_xacts.t [new file with mode: 0644]