[freeside-commits] freeside/httemplate/search cust_main.html, 1.19, 1.20

Mark Wells mark at wavetail.420.am
Mon Mar 29 02:18:25 PDT 2010


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

Modified Files:
	cust_main.html 
Log Message:
RT#884: search customers by signup time of day

Index: cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -w -d -r1.19 -r1.20
--- cust_main.html	4 Dec 2009 04:40:27 -0000	1.19
+++ cust_main.html	29 Mar 2010 09:18:23 -0000	1.20
@@ -44,7 +44,7 @@
 
 #scalars
 my @scalars = qw (
-  agentnum status cancelled_pkgs cust_fields flattened_pkgs custbatch
+  agentnum status cancelled_pkgs cust_fields flattened_pkgs custbatch usernum
   no_censustract paydate_year paydate_month invoice_terms
 );
 
@@ -66,10 +66,10 @@
 
   my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field);
 
-  next if $beginning == 0 && $ending == 4294967295;
+  next if $beginning == 0 && $ending == 4294967295 && !defined($cgi->param('signuphour'));
        #or $disable{$cgi->param('status')}->{$field};
 
-  $search_hash{$field} = [ $beginning, $ending ];
+  $search_hash{$field} = [ $beginning, $ending, $cgi->param('signuphour') ];
 
 }
 



More information about the freeside-commits mailing list