diff options
author | levinse <levinse> | 2011-06-23 01:55:51 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-23 01:55:51 +0000 |
commit | 3545cf7c664f5cd24a5c4e9cf8c7ef368ac51f1f (patch) | |
tree | 48b2b3895869dcb6d4dd41d4b587934ed7722dcd /httemplate/browse | |
parent | 1070837a51a12ce1e46242dfdff99daa7b96da61 (diff) |
add optional fcc_ds0s to pkg_class, RT13057
Diffstat (limited to 'httemplate/browse')
-rw-r--r-- | httemplate/browse/pkg_class.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/browse/pkg_class.html b/httemplate/browse/pkg_class.html index 97b0621ae..f3e236496 100644 --- a/httemplate/browse/pkg_class.html +++ b/httemplate/browse/pkg_class.html @@ -19,6 +19,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +my $conf = new FS::Conf; + my $html_init = 'Package classes define groups of packages, for taxation, ordering '. 'convenience and reporting.<BR><BR>'. @@ -32,6 +34,12 @@ my $header = [ '#', 'Class' ]; my $fields = [ 'classnum', 'classname' ]; my $links = [ $link, $link ]; +if($conf->exists('cust_main-require_censustract')) { + push @{$fields}, 'fcc_ds0s'; + push @{$header}, 'FCC form 477 voice-grade equivalents'; + push @{$links}, ''; +} + my $cat_query = 'SELECT COUNT(*) FROM pkg_class where categorynum IS NOT NULL'; my $sth = dbh->prepare($cat_query) or die "Error preparing $cat_query: ". dbh->errstr; |