error_over => 1,
total_due => $total_due
);
} elsif ( $total_collected < $total_paid && !( $writeoff_individual || $type eq 'writeoff') ) {
} elsif ( $total_collected < $total_paid && ( $writeoff_individual || $type eq 'writeoff') ) {
$template->param(
error_under => 1,
total_paid => $total_paid
-