LP#1333254 Improve entry debit maintenance for inv. open/close. user/berick/lp1333254-invoices-paid-on-close-rebase
authorBill Erickson <berickxx@gmail.com>
Thu, 25 Feb 2016 18:33:20 +0000 (13:33 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 25 Feb 2016 18:33:25 +0000 (13:33 -0500)
commitdff2282ca91373f5709f65ebbff968be2f1de5b8
treed8a918592af76391e1b0d8d2f1a731e27b3221a4
parente1c39658cc54f32ccb82ec9a0c6610f0e296b611
LP#1333254 Improve entry debit maintenance for inv. open/close.

Improve handling of debit->entry links for invoices that cross the
open/close boundary, modifying the number of items invoiced on an entry,
and rolling back invoice entry debits.

Prior to this, some debits would be unnecessarily linked to entries and
fail to clean up properly when rolled back.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm