X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=b3e52b556de17ea0332ecfe20397064d7bb33377;hb=8f6c0d7b137391c6dd9cd1397a73293cd575da13;hp=fccdf02477f3a918fe37767f1d8efe414fb207c4;hpb=83bc1fdf7145a2525b7e48f1dc6064e55ab4f31b;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index fccdf0247..b3e52b556 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,18 +17,23 @@ | <% $cust_main->masked('ss') || ' ' %> | % }|||||||
<% mt('Email invoices') |h %> | -- <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> - | -||||||||
<% mt('Email invoices') |h %> | ++ <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> + | +||||||||
<% mt('Company') |h %> | -<% $cust_main->get("${pre}company") |h %> | -||||||||
<% mt('Company') |h %> | +<% $cust_main->get("${pre}company") |h %> | +||||||||
<% mt('Address') |h %> | <% $cust_main->get("${pre}address1") |h %> | @@ -65,42 +70,39 @@<% mt('Country') |h %> | <% code2country( $cust_main->get("${pre}country") ) %> | ||||||
<% $daytime_label %> | -- <& /elements/phonenumber.html, - $cust_main->get("${pre}daytime"), - 'callable'=>1, - 'calling_list_exempt'=>$cust_main->calling_list_exempt, - &> - | -||||||||
<% $night_label %> | -- <& /elements/phonenumber.html, - $cust_main->get("${pre}night"), - 'callable'=>1, - 'calling_list_exempt'=>$cust_main->calling_list_exempt, - &> - | -||||||||
<% $mobile_label %> | -- <& /elements/phonenumber.html, - $cust_main->get("${pre}mobile"), - 'callable'=>1, - 'calling_list_exempt'=>$cust_main->calling_list_exempt, - &> - | -||||||||
<% 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 %> | @@ -109,23 +111,31 @@<% $cust_main->stateid_state || ' ' %> |