diff options
| author | levinse <levinse> | 2011-06-23 01:56:21 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2011-06-23 01:56:21 +0000 |
| commit | 4de19e4303d8d692fb772b0a332be325bab50db3 (patch) | |
| tree | d624d2c106ab9253ee221c3b3bdcbf19ee60120c /httemplate/edit/pkg_class.html | |
| parent | 8dce92bbb74580a86dcbf2ee47dbf6d143e16177 (diff) | |
add optional fcc_ds0s to pkg_class, RT13057
Diffstat (limited to 'httemplate/edit/pkg_class.html')
| -rw-r--r-- | httemplate/edit/pkg_class.html | 11 |
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> |
