[freeside-commits] freeside/httemplate/edit pkg_class.html, 1.7, 1.7.4.1

Erik Levinson levinse at wavetail.420.am
Wed Jun 22 18:56:23 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv28818/httemplate/edit

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	pkg_class.html 
Log Message:
add optional fcc_ds0s to pkg_class, RT13057

Index: pkg_class.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/pkg_class.html,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -u -w -d -r1.7 -r1.7.4.1
--- pkg_class.html	29 Oct 2009 01:08:33 -0000	1.7
+++ pkg_class.html	23 Jun 2011 01:56:21 -0000	1.7.4.1
@@ -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>



More information about the freeside-commits mailing list