X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpkg_class.html;fp=httemplate%2Fbrowse%2Fpkg_class.html;h=f3e23649655fdcf12c64dc343bf390eca6dc0882;hb=3545cf7c664f5cd24a5c4e9cf8c7ef368ac51f1f;hp=97b0621ae58fefcdecfba44e1364666039115aab;hpb=1070837a51a12ce1e46242dfdff99daa7b96da61;p=freeside.git 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.

'. @@ -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;