Acq fix for LP#901378
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Wed, 7 Dec 2011 19:27:45 +0000 (11:27 -0800)
committerBill Erickson <berick@esilibrary.com>
Fri, 20 Jan 2012 20:56:20 +0000 (15:56 -0500)
commitde40cb6bfbf2c41a1e287ec143c81576ed3edde8
treede5f71e4821e0abe648025d01be508b8647c26e5
parent38b6cf81e44f8ab852222911a7d8b646f45b7311
Acq fix for LP#901378

Proratable invoice charges do not have a fund_debit, we need to check for
this before attempting to delete the charge.  If there's no fund_debit
we can generally assume that there's no corresponding debit to this charge
and skip trying to delete it.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm