summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main/billing.html
diff options
context:
space:
mode:
authorivan <ivan>2009-10-10 00:00:32 +0000
committerivan <ivan>2009-10-10 00:00:32 +0000
commitbdf4497fd8d3778e9cc0f8b90dd8a742f3a84158 (patch)
treef721e2efecfea352e5fbde4177e2b9b026b161ee /httemplate/edit/cust_main/billing.html
parentf04616ad2c32641c1b85820cb97bcb22edbbc9f5 (diff)
change invoice terms for one-time charges (& bill them immediately), RT#5891
Diffstat (limited to 'httemplate/edit/cust_main/billing.html')
-rw-r--r--httemplate/edit/cust_main/billing.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 363dd0419..ad83778ca 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -411,14 +411,10 @@
<TR>
<TD ALIGN="right" WIDTH="200">Invoice terms </TD>
<TD WIDTH="408">
- <SELECT NAME="invoice_terms">
- <OPTION VALUE="">Default (<% $conf->config('invoice_default_terms') || 'Payable upon receipt' %>)
-% foreach my $term ( 'Payable upon receipt',
-% ( map "Net $_", 0, 10, 15, 20, 30, 45, 60 ),
-% ) {
- <OPTION VALUE="<% $term %>" <% $cust_main->invoice_terms eq $term ? ' SELECTED' : '' %>><% $term %>
-% }
- </SELECT>
+ <% include('/elements/select-terms.html',
+ 'curr_value' => $cust_main->invoice_terms,
+ )
+ %>
</TD>
</TR>