[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.28, 1.29

Ivan,,, ivan at wavetail.420.am
Fri Oct 9 16:59:26 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv18717/httemplate/edit/cust_main

Modified Files:
	billing.html 
Log Message:
change invoice terms for one-time charges (& bill them immediately), RT#5891

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- billing.html	28 Jul 2009 22:21:39 -0000	1.28
+++ billing.html	9 Oct 2009 23:59:24 -0000	1.29
@@ -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>
 



More information about the freeside-commits mailing list