[freeside-commits] freeside/httemplate/edit/process part_pkg_report_option.html, NONE, 1.1 part_pkg.cgi, 1.39, 1.40

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Jun 29 06:53:26 PDT 2009


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

Modified Files:
	part_pkg.cgi 
Added Files:
	part_pkg_report_option.html 
Log Message:
FCC form 477 reporting #4912

--- NEW FILE: part_pkg_report_option.html ---
<% include( 'elements/process.html',
               'table'       => 'part_pkg_report_option',
               'viewall_dir' => 'browse',
           )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

</%init>

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_pkg.cgi,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- part_pkg.cgi	17 Jun 2009 02:39:09 -0000	1.39
+++ part_pkg.cgi	29 Jun 2009 13:53:24 -0000	1.40
@@ -102,6 +102,11 @@
     $options{"usage_taxproductnum_$_"} = $value;
   }
 
+  foreach ( split(',', $cgi->param('report_option') ) ) {
+    $error ||= "Illegal optional report class: $_" unless ( $_ =~ /^\d*$/  );
+    $options{"report_option_$_"} = 1;
+  }
+
   $options{$_} = scalar( $cgi->param($_) )
     for (qw( setup_fee recur_fee ));
   



More information about the freeside-commits mailing list