X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=7e625d26c58f17bb42045fba1867b4e8c4fd3d40;hb=6e33e8af0974d49c1c0cf65b1963846d35f6c156;hp=121c0522a8e2d84bcd3ac94efd64d116cba4e52f;hpb=7c1d5f4ce778b4ab56301a042076e7c1dce46152;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 121c0522a..7e625d26c 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,66 +1,61 @@ -% -% my( $cust_main ) = @_; -% my $conf = new FS::Conf; -% my $date_format = ($conf->config('date_format') || "%m/%d/%Y"); -% - - -<% ntable("#cccccc") %>
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 %> | +<% 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 %> | +||
Agent customer ref# | -<% $cust_main->agent_custid %> | -||
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 @@ -71,7 +66,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -87,28 +82,113 @@ |
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 | -<% $cust_main->birthdate ? $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 %> |