[freeside-commits] freeside/httemplate/view/cust_main misc.html, 1.17, 1.18
Ivan,,,
ivan at wavetail.420.am
Fri Jul 16 16:45:26 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv17937/httemplate/view/cust_main
Modified Files:
misc.html
Log Message:
customer tags, RT#9192
Index: misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/misc.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- misc.html 17 Jun 2010 20:31:13 -0000 1.17
+++ misc.html 16 Jul 2010 23:45:24 -0000 1.18
@@ -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 } );
More information about the freeside-commits
mailing list