diff options
author | ivan <ivan> | 2007-05-18 23:46:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-05-18 23:46:29 +0000 |
commit | fd8490781ff425e85cbd507e1166fa786b5ceddc (patch) | |
tree | 17a2bed9f7c616474f4faa815d915c74aeaaf198 | |
parent | f145ba710c004d0735caae621004d2776b178a6e (diff) |
have "emailinvoiceonly" hide postal/fax invoice options in backoffice as well as self-service. closes: bug#1614
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 1eda82545..394c5d8d5 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> |