diff options
author | ivan <ivan> | 2010-07-17 22:15:38 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-17 22:15:38 +0000 |
commit | 214563932444cf0cd8c5f1824370969a96081fa0 (patch) | |
tree | 4d184c9aa0f8d737060d32cacc4a2c1576964358 | |
parent | 50f7a3e840e949ae4c876720c04b1ab8ed0d2988 (diff) |
customer tags, RT#9192
-rw-r--r-- | FS/FS/Conf.pm | 8 | ||||
-rwxr-xr-x | httemplate/view/cust_main.cgi | 1 | ||||
-rw-r--r-- | httemplate/view/cust_main/misc.html | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 82c3aba4c..e18cff693 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -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" }, diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index c05b24aa8..0b267ad2e 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -15,7 +15,6 @@ ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"' : '' %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT> - <BR> </TD> </TR> % } diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 4ee2f6220..9a8036cb9 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -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"> |