This commit was manufactured by cvs2svn to create branch
[freeside.git] / httemplate / view / cust_main.cgi
index ca8bf54..f6bef43 100755 (executable)
@@ -4,6 +4,22 @@
           })
 %>
 <BR>
+% my @part_tag = $cust_main->part_tag;
+% if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) {
+<TABLE STYLE="margin-bottom:8px" CELLSPACING=2>
+%   foreach my $part_tag ( @part_tag ) {
+<TR>
+  <TD>
+      <FONT SIZE="+1"
+            <% length($part_tag->tagcolor)
+                 ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"'
+                 : ''
+      %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT>
+  </TD>
+</TR>
+%   }
+</TABLE>
+% }
 
 <% include('/elements/menubar.html',
              { 'newstyle' => 1,
@@ -13,7 +29,7 @@
              %views,
           )
 %>
-<BR>
+<DIV CLASS="fstabcontainer">
 
 <% include('/elements/init_overlib.html') %>
 
@@ -74,6 +90,9 @@ function areyousure(href, message) {
   This customer's signup URL: <A HREF="<% $signupurl %>?ref=<% $custnum %>"><% $signupurl %>?ref=<% $custnum %></A><BR><BR>
 % } 
 
+%if ( $conf->exists('maestro-status_test') ) {
+  <A HREF="<% $p %>misc/maestro-customer_status-test.html?<% $custnum %>">Test maestro status</A><BR><BR>
+% } 
 
 <A NAME="cust_main"></A>
 <TABLE BORDER=0>
@@ -214,6 +233,7 @@ Comments
 <% include('cust_main/change_history.html', $cust_main ) %>     
 % }
 
+</DIV>
 <% include('/elements/footer.html') %>
 <%init>