X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpkg_class.html;h=f3e23649655fdcf12c64dc343bf390eca6dc0882;hb=4de19e4303d8d692fb772b0a332be325bab50db3;hp=97b0621ae58fefcdecfba44e1364666039115aab;hpb=8dce92bbb74580a86dcbf2ee47dbf6d143e16177;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;