Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
$outstanding_overdues = ($outstanding_overdues*100 + $bill->amount*100)/100;
}
- # TODO: I am sure that at some point someone is going to want to
- # keep the old behavior of voiding the whole bill amount and if
- # that give the patron a "credit" then so be it. I'll need an ou
- # setting for that.
-
if ($outstanding_overdues >= 0.01) {
# Make void payment
my $payobj = Fieldmapper::money::void_payment->new;
$open_amount = ($open_amount*100 + $open_bill->amount*100)/100;
}
- # TODO: I am sure that at some point someone is going to want
- # to keep the old behavior of voiding the whole bill amount
- # and if that give the patron a "credit" then so be it. I'll
- # need an ou setting for that.
-
if($open_amount == 0) {
$e->rollback;
return OpenILS::Event->new('BILL_ALREADY_VOIDED', payload => $bill);