X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=7e625d26c58f17bb42045fba1867b4e8c4fd3d40;hb=1cde870268b03197da75f089669d60a7ba3c5617;hp=91b304b5d71857fd6e1d2c5eb5fa4f4729f5fa1a;hpb=17451727f5f483394ca894a48e8fa3abe91d5a2b;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 91b304b5d..7e625d26c 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,54 +1,61 @@ -<% 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 %> | |
<% 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 @@ -59,7 +66,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -75,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) : '' %> | +||
<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> |