summaryrefslogtreecommitdiff
path: root/httemplate/edit/pkg_class.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-23 01:55:51 +0000
committerlevinse <levinse>2011-06-23 01:55:51 +0000
commit3545cf7c664f5cd24a5c4e9cf8c7ef368ac51f1f (patch)
tree48b2b3895869dcb6d4dd41d4b587934ed7722dcd /httemplate/edit/pkg_class.html
parent1070837a51a12ce1e46242dfdff99daa7b96da61 (diff)
add optional fcc_ds0s to pkg_class, RT13057
Diffstat (limited to 'httemplate/edit/pkg_class.html')
-rw-r--r--httemplate/edit/pkg_class.html11
1 files changed, 11 insertions, 0 deletions
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' };
+}
+</%init>