my $btype = $bill->btype();
if ($btype == 1) {
# Overdues
- $amount_to_void = $xact_total unless(_check_payment_interval($bpenty, $neg_balance_interval_overdues));
+ $amount_to_void = $xact_total unless(_check_payment_interval($bpentry, $neg_balance_interval_overdues));
$amount_to_void = $xact_total if ($U->is_true($neg_balance_overdues));
} elsif ($btype == 3 || $btype == 10) {
# Lost or Long Overdue
- $amount_to_void = $xact_total unless(_check_payment_interval($bpenty, $neg_balance_interval_lost));
+ $amount_to_void = $xact_total unless(_check_payment_interval($bpentry, $neg_balance_interval_lost));
$amount_to_void = $xact_total if ($U->is_true($neg_balance_lost));
} else {
# Any other bill that we're trying to void.
- $amount_to_void = $xact_total unless(_check_payment_interval($bpenty, $neg_balance_interval_default));
+ $amount_to_void = $xact_total unless(_check_payment_interval($bpentry, $neg_balance_interval_default));
$amount_to_void = $xact_total if ($U->is_true($neg_balance_default));
}
}