X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=d2deae245f427f1fee0f52ae7d05ad7fe27a5d72;hb=HEAD;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..d2deae245 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 | -<% $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 @@ -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 | -<% $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 %> | ||
Census tract | -<% $cust_main->censustract %> | +<% emt('Edit ticket subjects') %> | +<% $cust_main->edit_subject ? 'yes' : 'no' %> |