diff options
author | levinse <levinse> | 2011-05-30 23:27:09 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-30 23:27:09 +0000 |
commit | dd65ba99bb9281571f19744154a3b03bcd3f01ab (patch) | |
tree | ab07298627947dfbb5b41edce3504d994fe7c367 /httemplate/edit | |
parent | b9c79429e2eabb6b184070e97e338188640e2094 (diff) |
optional better visibility for invoicing email field, RT12944
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 2 | ||||
-rw-r--r-- | httemplate/edit/cust_main/contact.html | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 39a0b70ed..60a03d621 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -441,12 +441,14 @@ % } +% unless ( $conf->exists('cust-email-high-visibility')) { <TR> <TD ALIGN="right" WIDTH="200"> <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es) </TD> <TD WIDTH="408"><INPUT TYPE="text" NAME="invoicing_list" VALUE="<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"></TD> </TR> +% } <TR> <TD ALIGN="right" WIDTH="200"><% mt('Invoice terms') |h %> </TD> diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html index 7adcde77f..a53c78905 100644 --- a/httemplate/edit/cust_main/contact.html +++ b/httemplate/edit/cust_main/contact.html @@ -18,6 +18,17 @@ </TR> +% if ( $conf->exists('cust-email-high-visibility') && !$pre ) { + <TR> + <TD ALIGN="right" WIDTH="200"> + <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es) + </TD> + <TD bgcolor="#FFFF00"> + <INPUT TYPE="text" NAME="invoicing_list" VALUE="<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"> + </TD> + </TR> +% } + <TR> <TD ALIGN="right"><% mt('Company') |h %></TD> <TD COLSPAN=7> @@ -134,4 +145,6 @@ my $stateid_state_label = FS::Msgcat::_gettext('stateid_state') =~ /^(stateid_st my $r = qq!<font color="#ff0000">*</font> !; +my @invoicing_list = $cust_main->invoicing_list; + </%init> |