[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.14.2.4, 1.14.2.5

Ivan,,, ivan at wavetail.420.am
Fri May 18 16:44:37 PDT 2007


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	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.14.2.4
retrieving revision 1.14.2.5
diff -u -d -r1.14.2.4 -r1.14.2.5
--- billing.html	30 Apr 2007 20:56:13 -0000	1.14.2.4
+++ billing.html	18 May 2007 23:44:33 -0000	1.14.2.5
@@ -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