X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=136f634a4cd0dc3dc17084469ea1d2ab2cd52efb;hb=a961013d0550e9e033b86e7bb677de05ddb9e7b7;hp=d65af669a1a35b94d344bfea653aed820cc9dd22;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index d65af669a..136f634a4 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -13,6 +13,13 @@ (<% mt('same as billing') %>) % } +% if ( +% ($this eq 'ship') +% && $cust_main->invoice_ship_address +% && !$conf->exists('invoice-ship_address') #it's always on, so hide per-cust config +% ) { +(<% emt('included on invoices') %>) +% } % if ( $this eq 'bill' ) { @@ -27,6 +34,16 @@ : $cust_main->masked('ss') || ' ' %> % } +% if ( $conf->exists('cust_main-enable_spouse') and +% ($cust_main->spouse_last or $cust_main->spouse_first) ) { + + + + +% } % if ( $conf->exists('cust-email-high-visibility') ) { @@ -41,8 +58,23 @@ % } -% } # if $this eq 'bill' +% } elsif ( $this eq 'ship' ) { +% if ( $cust_main->ship_company ) { # mostly obsolete these days... + + + + +% } +% } % # now the actual address + +% if ( $location->locationname ) { + + + + +% } + @@ -61,8 +93,12 @@ % } +% if ( $location->city ) { +% } else { + +% } % if ( $location->county ) { @@ -84,6 +120,7 @@ $cust_main->agentnum, &> % } +<& /elements/tr-censustract.html, $location &> % if ( $this eq 'bill' ) { % # billing contact phone numbers
<% mt('Spouse') |h %> + <% join(', ', grep $_, + $cust_main->spouse_last, $cust_main->spouse_first) %> +
<% mt('Email address(es)') |h %><% $cust_main->company |h %>
<% mt('Company') |h %><% $cust_main->ship_company |h %>
<% mt('Location ID') |h %><% $location->locationname |h %>
<% mt('Address') |h %> <% $location->address1 |h %>
<% mt('City') |h %> <% $location->city |h %><% mt('County') |h %> <% $location->county |h %>