diff options
author | ivan <ivan> | 2010-07-16 23:45:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-16 23:45:24 +0000 |
commit | 556b8e9650155e74416496238cfc0e4abe64c53a (patch) | |
tree | 26a6cac98ec8a944361a0d913392eab6abd53b6a /httemplate/view | |
parent | 9414a814e49a86a832e4f56ec1a6bcc927f55e6b (diff) |
customer tags, RT#9192
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/misc.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index d383e4aa4..2243647a3 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -10,6 +10,22 @@ <TD BGCOLOR="#ffffff"><FONT COLOR="#<% $cust_main->statuscolor %>"><B><% ucfirst($cust_main->status) %></B></FONT></TD> </TR> +% my @part_tag = $cust_main->part_tag; +% if ( @part_tag ) { +<TR> + <TD ALIGN="right">Tags</TD> + <TD BGCOLOR="#ffffff"> +% foreach my $part_tag ( @part_tag ) { + <FONT <% length($part_tag->tagcolor) + ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"' + : '' %> + ><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT> + <BR> +% } + </TD> +</TR> +% } + %unless ( scalar(@agentnums) == 1 % && !$curuser->access_right('View customers of all agents') ) { % my $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } ); |