[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.17, 1.18

Ivan,,, ivan at wavetail.420.am
Fri May 18 16:46:31 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv22838

Modified Files:
	billing.html 
Log Message:
have "emailinvoiceonly" hide postal/fax invoice options in backoffice as well as self-service.  closes: bug#1614

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- billing.html	27 Apr 2007 22:37:07 -0000	1.17
+++ billing.html	18 May 2007 23:46:29 -0000	1.18
@@ -396,6 +396,8 @@
       <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="tax" VALUE="Y" <% $cust_main->tax eq "Y" ? 'CHECKED' : '' %>> Tax Exempt</TD>
     </TR>
 
+% unless ( $conf->exists('emailinvoiceonly') ) {
+
     <TR>
       <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST" <%
 
@@ -421,6 +423,8 @@
       </TD>
     </TR>
 
+% }
+
     <TR>
       <TD ALIGN="right" WIDTH="200">Email invoice </TD>
       <TD WIDTH="408"><INPUT TYPE="text" NAME="invoicing_list" VALUE="<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"></TD>



More information about the freeside-commits mailing list