X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpkg_class.html;h=95c6f30825b8b63c13db5e267f0b1ecdc2df544b;hb=3be3194b8429383cf47fde8ea662327a0a60d8b0;hp=4f7a729bd773bdca7d27e43ebe7e9e746919d20b;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/edit/pkg_class.html b/httemplate/edit/pkg_class.html index 4f7a729bd..95c6f3082 100644 --- a/httemplate/edit/pkg_class.html +++ b/httemplate/edit/pkg_class.html @@ -1,5 +1,16 @@ <% include( 'elements/class_Common.html', - 'name' => 'Package Class', + 'name_singular' => 'Package Class', 'table' => 'pkg_class', + %opt, ) %> +<%init> + +my $conf = new FS::Conf; + +my %opt = (); +if($conf->exists('cust_main-require_censustract')) { + $opt{'addl_fields'} = [ 'fcc_ds0s' ]; + $opt{'addl_labels'} = { 'fcc_ds0s' => 'FCC form 477 voice-grade equivalents' }; +} +