summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_credit_bill.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_credit_bill.cgi')
-rwxr-xr-xhttemplate/edit/cust_credit_bill.cgi8
1 files changed, 0 insertions, 8 deletions
diff --git a/httemplate/edit/cust_credit_bill.cgi b/httemplate/edit/cust_credit_bill.cgi
index 26c1126..249ba31 100755
--- a/httemplate/edit/cust_credit_bill.cgi
+++ b/httemplate/edit/cust_credit_bill.cgi
@@ -21,12 +21,6 @@ Credit #<B><% $crednum %></B>
<SCRIPT>
function changed(what) {
cust_bill = what.options[what.selectedIndex].value;
-% foreach my $cust_bill ( @cust_bill ) {
-% my $invnum = $cust_bill->invnum;
-% my $changeto = $cust_bill->owed < $cust_credit->credited
-% ? $cust_bill->owed
-% : $cust_credit->credited;
-%
% foreach my $cust_bill ( @cust_bill ) {
@@ -44,7 +38,6 @@ function changed(what) {
<BR>Invoice #<SELECT NAME="invnum" SIZE=1 onChange="changed(this)">
<OPTION VALUE="">
-% foreach my $cust_bill ( @cust_bill ) {
% foreach my $cust_bill ( @cust_bill ) {
<OPTION<% $cust_bill->invnum eq $invnum ? ' SELECTED' : '' %> VALUE="<% $cust_bill->invnum %>"><% $cust_bill->invnum %> - <% time2str("%D",$cust_bill->_date) %> - $<% $cust_bill->owed %>
@@ -97,4 +90,3 @@ my @cust_bill = sort { $a->_date <=> $b->_date
qsearch('cust_bill', { 'custnum' => $cust_credit->custnum } );
</%init>
-