From 3545cf7c664f5cd24a5c4e9cf8c7ef368ac51f1f Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 23 Jun 2011 01:55:51 +0000 Subject: add optional fcc_ds0s to pkg_class, RT13057 --- httemplate/edit/pkg_class.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'httemplate/edit/pkg_class.html') diff --git a/httemplate/edit/pkg_class.html b/httemplate/edit/pkg_class.html index 4f7a729bd..1bc100e36 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', 'table' => 'pkg_class', + %opt, ) %> +<%init> + +my $conf = new FS::Conf; + +my %opt = (); +if($conf->exists('cust_main-require_censustract')) { + $opt{'addl_fields'} = qw( fcc_ds0s ); + $opt{'addl_labels'} = { 'fcc_ds0s' => 'FCC form 477 voice-grade equivalents' }; +} + -- cgit v1.2.1