[freeside-commits] freeside/httemplate/search cust_main.html, 1.14, 1.15 report_cust_main.html, 1.9, 1.10 report_cust_pkg.html, 1.13, 1.14

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


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

Modified Files:
	cust_main.html report_cust_main.html report_cust_pkg.html 
Log Message:
FCC form 477 reporting #4912

Index: report_cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pkg.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- report_cust_pkg.html	21 Jun 2009 15:21:31 -0000	1.13
+++ report_cust_pkg.html	29 Jun 2009 13:53:25 -0000	1.14
@@ -72,6 +72,20 @@
                )
     %>
 
+%   if ( scalar( qsearch( 'part_pkg_report_option', { 'disabled' => '' } ) ) ) {
+
+    <% include( '/elements/tr-select-table.html',
+                   'label'        => 'Report classes',
+                   'table'        => 'part_pkg_report_option',
+                   'name_col'     => 'name',
+                   'hashref'      => { 'disabled' => '' },
+                   'element_name' => 'report_option',
+                   'multiple'     => 'multiple',
+               )
+    %>
+
+%   }
+
 %   foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) {
 
       <TR>

Index: report_cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_main.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- report_cust_main.html	10 Dec 2008 21:43:43 -0000	1.9
+++ report_cust_main.html	29 Jun 2009 13:53:25 -0000	1.10
@@ -56,6 +56,15 @@
         <TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
     </TR>
 
+%   if ( $conf->exists('cust_main-require_censustract') ) {
+
+    <TR>
+      <TD ALIGN="right" VALIGN="center">Without census tract</TD>
+        <TD><INPUT TYPE="checkbox" NAME="no_censustract"></TD>
+    </TR>
+
+%   }
+
     <TR>
       <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
     </TR>
@@ -84,6 +93,8 @@
            $FS::CurrentUser::CurrentUser->access_right('List packages')
          );;
 
+my $conf = new FS::Conf;
+
 </%init>
 <%once>
 

Index: cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cust_main.html	22 Jun 2009 22:55:05 -0000	1.14
+++ cust_main.html	29 Jun 2009 13:53:25 -0000	1.15
@@ -43,9 +43,12 @@
 #$search_hash{'query'} = $cgi->keywords;
 
 #scalars
-for my $param (qw(
+my @scalars = qw (
   agentnum status cancelled_pkgs cust_fields flattened_pkgs custbatch
-)) {
+  no_censustract
+);
+
+for my $param ( @scalars ) {
   $search_hash{$param} = scalar( $cgi->param($param) )
     if $cgi->param($param);
 }



More information about the freeside-commits mailing list