X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=2953287214f9253563dbcb484107cb2d51ba9b14;hb=83f70978574fef3401020cb11cf651d12c139b3b;hp=9528db2437f6bb3ba762364e60462242a3fae671;hpb=02b9c53fb85b0a87d959e140dc30ae21cccb0902;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 9528db243..295328721 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,65 +1,71 @@ -% -% 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 | +<% mt('Status') |h %> | <% ucfirst($cust_main->status) %> | |
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').')' %> | +||
Advertising source | +<% mt('Advertising source') |h %> | <% $referral->refnum %>: <% $referral->referral%> | |
Referring Customer | +<% mt('Referring Customer') |h %> | % % my $referring_cust_main = ''; @@ -71,7 +77,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -87,26 +93,72 @@ | |
Order taker | +<% mt('Order taker') |h %> | <% $cust_main->otaker %> | |
Signup Date | +<% mt('Signup Date') |h %> | <% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> | |
Date of Birth | -<% $cust_main->birthdate ne '' ? $dt->strftime($date_format) : '' %> | +<% mt('Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> |