X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=cb465f57e116c39943dd7af7d1fe5f7b8a04e301;hb=7bf6dafb0da4a525388a6f145dd0a904eddcec14;hp=f06a4fbd20f0da75c47c085f2eb75028fb952468;hpb=8e3dfb380406e145494a5fffa7a0e4aab7b38253;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index f06a4fbd2..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,76 +1,73 @@ -<% - my( $cust_main ) = @_; - my $conf = new FS::Conf; -%> - -<%= ntable("#cccccc") %>
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 %>
+ +% } + |
---|---|---|---|
Agent customer ref# | -<%= $cust_main->agent_custid %> | +<% 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 | -<%= $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 +% && ( $referring_cust_main = +% qsearchs('cust_main', { custnum => $cust_main->referral_custnum } ) +% ) +% ) { +% + + +<%$referring_cust_main->display_custnum %>: <% - my $referring_cust_main = ''; - if ( $cust_main->referral_custnum - && ( $referring_cust_main = - qsearchs('cust_main', { custnum => $cust_main->referral_custnum } ) - ) - ) { -%> - -<%=$cust_main->referral_custnum %>: -<%= ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. $referring_cust_main->last. ', '. $referring_cust_main->first. @@ -78,16 +75,120 @@ : $referring_cust_main->last. ', '. $referring_cust_main->first ) %> +% } -<% } %> |
Order taker | -<%= $cust_main->otaker %> | +<% mt('Order taker') |h %> | +<% $cust_main->otaker %> |