X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=cb465f57e116c39943dd7af7d1fe5f7b8a04e301;hb=368ed08e24400e9d1faf401a1e4e23ea54d2c969;hp=b98e9dc3ef205444be6ddf85d51b7e0ba088f7e9;hpb=259921ee5e89a68fc79b2a358643c558ebb4fdaa;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index b98e9dc3e..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,28 +1,27 @@ -<% ntable("#cccccc") %>
Customer number | -<% $cust_main->display_custnum %> | -||
Status | -<% ucfirst($cust_main->status) %> | +<% mt('Tags') |h %> | +
+% foreach my $part_tag ( @part_tag ) {
+ tagcolor)
+ ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"'
+ : '' %>
+ ><% $part_tag->tagname.': '. $part_tag->tagdesc |h %>
+ +% } + |
---|---|---|---|
Agent | -<% $agent->agentnum %>: <% $agent->agent %> | -||
Agent customer ref# | +<% mt('Agent customer ref#') |h %> | <% $cust_main->agent_custid %> | |
Class | -<% $cust_main->classname || '(none)' %> | +<% mt('Class') |h %> | +<% $cust_main->classname || '('.emt('none').')' %> |
<% mt('Sales Person') |h %> | +<% $cust_main->salesperson |h %> | +||
Advertising source | -<% $referral->refnum %>: <% $referral->referral%> | +<% mt('Advertising source') |h %> | +<% $referral->refnum %>: <% $referral->referral%> |
Referring Customer | -+ | <% mt('Referring Customer') |h %> | +% % my $referring_cust_main = ''; % if ( $cust_main->referral_custnum @@ -60,7 +66,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -76,15 +82,35 @@ |
Order taker | -<% $cust_main->otaker %> | +<% mt('Order taker') |h %> | +<% $cust_main->otaker %> |
Signup Date | -<% $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 %> | +
Date of Birth | -<% $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) : '' %> | ||
Census tract | -<% $cust_main->censustract %> | +<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> |