X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.html;h=b0ce31ae912d75fe5c105f6c3c4e2527e0579cce;hb=247a72232486b809bd0f0d88f3506dc0a1e79d93;hp=503e78274f0e56ea997dc612632950d6c5d5f454;hpb=ceeaad3d99869f159bf2fee490aafa4c95d03365;p=freeside.git diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 503e78274..b0ce31ae9 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -41,8 +41,9 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum salesnum status address city county state zip country - paydate_year paydate_month invoice_terms + agentnum salesnum status + address city county state zip country location_history + invoice_terms no_censustract with_geocode with_email tax no_tax POST no_POST custbatch usernum cancelled_pkgs @@ -58,10 +59,17 @@ for my $param ( @scalars ) { } #lists -for my $param (qw( classnum refnum payby tagnum pkg_classnum )) { +for my $param (qw( classnum refnum pkg_classnum )) { $search_hash{$param} = [ $cgi->param($param) ]; } +#tags +my $params = $cgi->Vars; +$search_hash{'tagnum'} = [ + map { /^tagnum(\d+)/ && $1 } + grep { /^tagnum(\d+)/ && $cgi->param($_) } keys %$params +]; + ### # parse dates ###