customer tags, RT#9192
authorivan <ivan>
Sat, 17 Jul 2010 22:15:38 +0000 (22:15 +0000)
committerivan <ivan>
Sat, 17 Jul 2010 22:15:38 +0000 (22:15 +0000)
FS/FS/Conf.pm
httemplate/view/cust_main.cgi
httemplate/view/cust_main/misc.html

index 82c3aba..e18cff6 100644 (file)
@@ -3716,6 +3716,14 @@ and customer address. Include units.',
     'type'        => 'checkbox',
   },
 
+  {
+    'key'         => 'cust_tag-location',
+    'section'     => 'UI',
+    'description' => 'Location where customer tags are displayed.',
+    'type'        => 'select',
+    'select_enum' => [ 'misc_info', 'top' ],
+  },
+
   { key => "apacheroot", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
   { key => "apachemachine", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
   { key => "apachemachines", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
index c05b24a..0b267ad 100755 (executable)
@@ -15,7 +15,6 @@
                  ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"'
                  : ''
       %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT>
-      <BR>
   </TD>
 </TR>
 %   }
index 4ee2f62..9a8036c 100644 (file)
@@ -11,7 +11,7 @@
 </TR>
 
 % my @part_tag = $cust_main->part_tag;
-% if ( @part_tag ) {
+% if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) {
 <TR>
   <TD ALIGN="right">Tags</TD>
   <TD BGCOLOR="#ffffff">