END
}
-# if ( cust_bill == "Refund" ) {
-# what.form.amount.value = "$credited";
-# }
print <<END;
+ if ( cust_bill == "Refund" ) {
+ what.form.amount.value = "$unapplied";
+ }
}
</SCRIPT>
END
' - '. time2str("%D",$cust_bill->_date).
' - $'. $cust_bill->owed;
}
-#print qq!<OPTION VALUE="Refund">Refund!;
+print qq!<OPTION VALUE="Refund">Refund!;
print "</SELECT>";
print qq!<BR>Amount \$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8>!;