X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=cb465f57e116c39943dd7af7d1fe5f7b8a04e301;hb=e517b3733dd3d19a7af586c9f4b8cf9982a8b3d2;hp=5987459a58d90d96604e9cfae4cda19020a8de65;hpb=4987c433ba77d64a0ef73c445a3d4afde9d080d3;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 5987459a5..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,19 +1,10 @@ -<% ntable("#cccccc") %>
<% mt('Tags') |h %> | +<% mt('Tags') |h %> | % foreach my $part_tag ( @part_tag ) { tagcolor) @@ -26,20 +17,11 @@ | |
---|---|---|---|
<% mt('Agent') |h %> | -<% $agent->agentnum %>: <% $agent->agent %> | -||
<% mt('Agent customer ref#') |h %> | +<% mt('Agent customer ref#') |h %> | <% $cust_main->agent_custid %> | |
<% mt('Class') |h %> | -<% $cust_main->classname || '('.emt('none').')' %> | +<% mt('Class') |h %> | +<% $cust_main->classname || '('.emt('none').')' %> |
<% mt('Sales Person') |h %> | +<% $cust_main->salesperson |h %> | +||
<% mt('Advertising source') |h %> | -<% $referral->refnum %>: <% $referral->referral%> | +<% mt('Advertising source') |h %> | +<% $referral->refnum %>: <% $referral->referral%> |
<% mt('Referring Customer') |h %> | -+ | <% mt('Referring Customer') |h %> | +% % my $referring_cust_main = ''; % if ( $cust_main->referral_custnum @@ -77,7 +66,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -93,15 +82,35 @@ |
<% mt('Order taker') |h %> | -<% $cust_main->otaker %> | +<% mt('Order taker') |h %> | +<% $cust_main->otaker %> |
<% mt('Signup Date') |h %> | -<% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> | +<% mt('Signup Date') |h %> | +<% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> |
<% mt('NRIC') |h %> | +% } else { # elsif ( $cust_main->national_id =~ /^\w\d{9}$/ ) { +<% mt('Old IC/Passport') |h %> | +% #} else { +% # warn "unknown national_id format"; +%#+% } + | <% $cust_main->national_id |h %> | +
<% mt('Date of Birth') |h %> | -<% $dt ? $dt->strftime($date_format) : '' %> | +<% mt('Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +
<% mt('Spouse Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
<% mt('Anniversary Date') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | ||
<% mt('Census tract') |h %> | -<% $cust_main->censustract %> | +<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> |
<% mt('Edit ticket subjects') %> | -<% $cust_main->edit_subject ? 'yes' : 'no' %> | +<% emt('Edit ticket subjects') %> | +<% $cust_main->edit_subject ? 'yes' : 'no' %> |