X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=15def3283c5b7086d543c2e3e9193e1c1afff9af;hb=b7cf1606a66cca95e3540f803ffa66d223f23a40;hp=9528db2437f6bb3ba762364e60462242a3fae671;hpb=5e05724a635a22776f1b973f5d7e77989da4e048;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 9528db243..15def3283 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,65 +1,78 @@ -% -% my( $cust_main ) = @_; -% my $conf = new FS::Conf; -% my $date_format = ($conf->config('date_format') || "%m/%d/%Y"); -% - - -<% ntable("#cccccc") %>
Customer number | -<% $cust_main->custnum %> | +<% mt('Customer number') |h %> | +<% $cust_main->display_custnum %> |
Status | -<% ucfirst($cust_main->status) %> | +<% mt('Status') |h %> | +<% $cust_main->status_label %> |
Agent | -<% $agent->agentnum %>: <% $agent->agent %> | +<% mt('Tags') |h %> | +
+% foreach my $part_tag ( @part_tag ) {
+ tagcolor)
+ ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"'
+ : '' %>
+ ><% $part_tag->tagname.': '. $part_tag->tagdesc |h %>
+ +% } + |
<% mt('Agent') |h %> | +<% $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 | +<% mt('Advertising source') |h %> | <% $referral->refnum %>: <% $referral->referral%> | |
Referring Customer | +<% mt('Referring Customer') |h %> | % % my $referring_cust_main = ''; @@ -71,7 +84,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -87,26 +100,108 @@ | |
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 | -<% $cust_main->birthdate ne '' ? $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 %> |