summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_bill_pay.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_bill_pay.cgi')
-rwxr-xr-xhttemplate/edit/cust_bill_pay.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/cust_bill_pay.cgi b/httemplate/edit/cust_bill_pay.cgi
index 498d477..90292eb 100755
--- a/httemplate/edit/cust_bill_pay.cgi
+++ b/httemplate/edit/cust_bill_pay.cgi
@@ -36,6 +36,7 @@ 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 %>
@@ -83,3 +84,4 @@ my @cust_bill = sort { $a->_date <=> $b->_date
qsearch('cust_bill', { 'custnum' => $cust_pay->custnum } );
</%init>
+