X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=12b9391a028f1a065df4c9adb10bbbab1ad2e6ed;hb=5214a5560240667a3a914c45df046b420926a5ec;hp=68e3b17adb7501268242a4498bade660e1b6287b;hpb=d5cdad7fae9c5e45701a7e83abeb903d31b7983f;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 68e3b17ad..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,18 +17,23 @@ | <% $cust_main->masked('ss') || ' ' %> | % }|||||
<% mt('Email invoices') |h %> | -- <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> - | -||||||
<% mt('Email address(es)') |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 %> | @@ -74,42 +79,30 @@ &> % } -||||||
<% $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 %> | @@ -118,23 +111,31 @@<% $cust_main->stateid_state || ' ' %> |