X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=f0ecf8f70f93caa20f9445d4a9797d5edde97abc;hb=d647e72f22abc6715b6597d17a68851409b53d0b;hp=d383e4aa4a25b0897d4314ac1ad8e85c87cd09ee;hpb=5fc27d11b1f5cf689cf83e35c8fc6bfffd4ffe8e;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index d383e4aa4..f0ecf8f70 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,29 +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 | +<% mt('Advertising source') |h %> | <% $referral->refnum %>: <% $referral->referral%> | |
Referring Customer | +<% mt('Referring Customer') |h %> | % % my $referring_cust_main = ''; @@ -61,7 +66,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -77,15 +82,35 @@ | |
Order taker | +<% mt('Order taker') |h %> | <% $cust_main->otaker %> | |
Signup Date | +<% 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 | +<% 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 %> |