projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and one last case with named and not named taxes in the same region, ack
[freeside.git]
/
httemplate
/
edit
/
cust_bill_pay.cgi
diff --git
a/httemplate/edit/cust_bill_pay.cgi
b/httemplate/edit/cust_bill_pay.cgi
index
8cdf450
..
24bce30
100755
(executable)
--- a/
httemplate/edit/cust_bill_pay.cgi
+++ b/
httemplate/edit/cust_bill_pay.cgi
@@
-59,10
+59,10
@@
foreach my $cust_bill ( @cust_bill ) {
END
}
END
}
-# if ( cust_bill == "Refund" ) {
-# what.form.amount.value = "$credited";
-# }
print <<END;
print <<END;
+ if ( cust_bill == "Refund" ) {
+ what.form.amount.value = "$unapplied";
+ }
}
</SCRIPT>
END
}
</SCRIPT>
END
@@
-75,7
+75,7
@@
foreach my $cust_bill ( @cust_bill ) {
' - '. time2str("%D",$cust_bill->_date).
' - $'. $cust_bill->owed;
}
' - '. 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>!;
print "</SELECT>";
print qq!<BR>Amount \$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8>!;