summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main/billing.html
diff options
context:
space:
mode:
authorivan <ivan>2007-05-18 23:46:29 +0000
committerivan <ivan>2007-05-18 23:46:29 +0000
commitfd8490781ff425e85cbd507e1166fa786b5ceddc (patch)
tree17a2bed9f7c616474f4faa815d915c74aeaaf198 /httemplate/edit/cust_main/billing.html
parentf145ba710c004d0735caae621004d2776b178a6e (diff)
have "emailinvoiceonly" hide postal/fax invoice options in backoffice as well as self-service. closes: bug#1614
Diffstat (limited to 'httemplate/edit/cust_main/billing.html')
-rw-r--r--httemplate/edit/cust_main/billing.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 1eda825..394c5d8 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -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>