From 113d47ee6ca162ee0adb5bd2a74b59cc56b7f8a9 Mon Sep 17 00:00:00 2001 From: levinse Date: Mon, 30 May 2011 23:27:10 +0000 Subject: optional better visibility for invoicing email field, RT12944 --- httemplate/edit/cust_main/billing.html | 2 ++ httemplate/edit/cust_main/contact.html | 13 +++++++++++++ 2 files changed, 15 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index f39cfd99f..f2fa37f6e 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -444,12 +444,14 @@ % } +% unless ( $conf->exists('cust-email-high-visibility')) { <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es) +% } Invoice terms diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html index 99bc558c3..c0989e22b 100644 --- a/httemplate/edit/cust_main/contact.html +++ b/httemplate/edit/cust_main/contact.html @@ -18,6 +18,17 @@ +% if ( $conf->exists('cust-email-high-visibility') && !$pre ) { + + + <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es) + + + + + +% } + Company @@ -147,4 +158,6 @@ my $stateid_state_label = FS::Msgcat::_gettext('stateid_state') =~ /^(stateid_st my $r = qq!* !; +my @invoicing_list = $cust_main->invoicing_list; + -- cgit v1.2.1