X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=12b9391a028f1a065df4c9adb10bbbab1ad2e6ed;hb=5214a5560240667a3a914c45df046b420926a5ec;hp=9a55e54880b6f6ef53f57ab947f628f2efcbc4e2;hpb=998f029ef805c73e90543b34192e16d38a23c69c;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 9a55e5488..12b9391a0 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -5,8 +5,8 @@ % foreach my $which ( '', 'ship_' ) { % my $pre = $cust_main->get("${which}last") ? $which : ''; -<% $which{$which} %> <% mt('address') |h %> -<% ntable("#cccccc") %>
<% mt('Contact name') |h %> | @@ -17,10 +17,23 @@ | <% $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 %> | @@ -57,30 +70,39 @@<% 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 || ' ' %> |