add "payment expiration before" to customer report, RT#6447
[freeside.git] / httemplate / search / cust_main.html
index f098fd3..d6586e8 100755 (executable)
@@ -45,7 +45,7 @@ my %search_hash = ();
 #scalars
 my @scalars = qw (
   agentnum status cancelled_pkgs cust_fields flattened_pkgs custbatch
-  no_censustract
+  no_censustract paydate_year paydate_month
 );
 
 for my $param ( @scalars ) {
@@ -54,9 +54,8 @@ for my $param ( @scalars ) {
 }
 
 #lists
-for my $param (qw( payby )) {
-  $search_hash{$param} = [ $cgi->param($param) ]
-    if $cgi->param($param);
+for my $param (qw( classnum payby )) {
+  $search_hash{$param} = [ $cgi->param($param) ];
 }
 
 ###