X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=fe7cc5c0a29801681e759327a9adfdc8f004c1d0;hb=1ae273f69e5bf2b46c9c5fcd990ad923770ace56;hp=0b754d097070746d436c5217ee5dfb01f98d1e6b;hpb=2238711675eefa60cd2feb47c8d3e43d3e6f1860;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 0b754d097..fe7cc5c0a 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -1,26 +1,39 @@ % my %which = ( -% '' => mt('Billing'), -% 'ship_' => mt('Service'), +% '' => emt('Billing'), +% 'ship_' => emt('Service'), % ); % foreach my $which ( '', 'ship_' ) { % my $pre = $cust_main->get("${which}last") ? $which : ''; -<% $which{$which} %> <% mt('address') |h %> -<% ntable("#cccccc") %>
<% mt('Contact name') |h %> | <% $cust_main->get("${pre}last"). ', '. $cust_main->get("${pre}first") |h %> | % if ( $which eq '' && $conf->exists('show_ss') ) { -SS# | -<% $cust_main->masked('ss') || ' ' %> | +<% mt('SS#') |h %> | +<% $conf->exists('unmask_ss') ? $cust_main->ss : $cust_main->masked('ss') || ' ' %> | % }||||
<% mt('Company') |h %> | -<% $cust_main->get("${pre}company") |h %> | -||||||||
<% mt('Email address(es)') |h %> | ++ <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> + | +||||||||
<% mt('Company') |h %> | +<% $cust_main->get("${pre}company") |h %> | +||||||||
<% mt('Address') |h %> | <% $cust_main->get("${pre}address1") |h %> | @@ -31,7 +44,7 @@ % ( $conf->exists('cust_main-require_address2') % && ! ( $pre xor $cust_main->has_ship_address ) % ) -% ? mt('Unit #') +% ? emt('Unit #') % : ' ';||||||||
<% mt('Country') |h %> | <% code2country( $cust_main->get("${pre}country") ) %> | ||||||||
<% $daytime_label %> | -- <& /elements/phonenumber.html, - $cust_main->get("${pre}daytime"), - 'callable'=>1 - &> - | -||||||||
<% $night_label %> | -- <& /elements/phonenumber.html, - $cust_main->get("${pre}night"), - 'callable'=>1 - &> - | -||||||||
<% mt('Fax') |h %> | -- <% $cust_main->get("${pre}fax") || ' ' %> - | -||||||||
<% $phone_label{$phone} %> | ++ <& /elements/phonenumber.html, + $cust_main->get($pre.$phone), + 'callable'=>1, + 'calling_list_exempt'=>$cust_main->calling_list_exempt, + &> + | +||||||||
<% mt('Fax') |h %> | ++ <% $cust_main->get("${pre}fax") || ' ' %> + | +||||||||
<% $stateid_label %> | @@ -89,20 +111,32 @@<% $cust_main->stateid_state || ' ' %> |