diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-05-14 15:13:12 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-05-14 15:13:12 -0700 |
commit | 5214a5560240667a3a914c45df046b420926a5ec (patch) | |
tree | fd215bd257102cd3df74bd46b0b4e712bd2c8c58 /httemplate/edit/cust_main | |
parent | 8d159e2eda65f2e7b327872580502f37d006c7f8 (diff) |
option to keep an email address but not email it invoices, RT#17676
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 3f873174f..d7082f23a 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -481,7 +481,7 @@ ? 'CHECKED' : '' - %>> <% mt('Postal mail invoice') |h %> + %>> <% mt('Postal mail invoices') |h %> </TD> </TR> @@ -493,15 +493,27 @@ ? 'CHECKED' : '' - %>> <% mt('Fax invoice') |h %> + %>> <% mt('Fax invoices') |h %> </TD> </TR> % } -% unless ( $conf->exists('cust-email-high-visibility')) { <TR> + <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoice_email" VALUE="Y" <% + + ( $cust_main->invoice_noemail eq 'Y' ) + ? '' + : 'CHECKED' + + %>> <% mt('Email invoices') |h %> + + </TD> + </TR> + +% unless ( $conf->exists('cust-email-high-visibility')) { + <TR> <TD ALIGN="right" WIDTH="200"> <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum) ? $r : '' %>Email address(es) |