Acq fix for LP#901378 user/jamesrf/lp901378-invoice-charge-deletion
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Wed, 7 Dec 2011 19:27:45 +0000 (11:27 -0800)
committerJames Fournie <jfournie@sitka.bclibraries.ca>
Wed, 21 Dec 2011 22:55:18 +0000 (14:55 -0800)
commitd7183910b763021449fa267fbc65ebb225d0e16b
tree6a42f30890c7e846fa9964bfad8e959b90b3e900
parent9451c6d6b7a954eb50e514e73f6e0b22bbc08f77
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm