X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partIA_summary.html;h=ebf081c718f03d93ec72767ebb62bdd16a7c6e7d;hb=b386703c6dee3eafb59f683710aa1aab27bf180e;hp=eb1c11607caae340e7742f6a72f4b23f3f600a1f;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/httemplate/search/477partIA_summary.html b/httemplate/search/477partIA_summary.html index eb1c11607..ebf081c71 100755 --- a/httemplate/search/477partIA_summary.html +++ b/httemplate/search/477partIA_summary.html @@ -1,4 +1,4 @@ -<% include( 'elements/search.html', +<& elements/search.html, 'html_init' => $html_init, 'name' => 'lines', 'query' => 'SELECT 1', @@ -28,8 +28,8 @@ sub { $total_percentage }, sub { $above_200_percentage }, ], - ) -%> + +&> <%init> my $curuser = $FS::CurrentUser::CurrentUser; @@ -40,9 +40,11 @@ die "access denied" my %opt = @_; my %search_hash = (); -for ( qw(agentnum magic classnum) ) { +for ( qw(agentnum magic state) ) { $search_hash{$_} = $cgi->param($_) if $cgi->param($_); } +$search_hash{'country'} = 'US'; +$search_hash{'classnum'} = [ $cgi->param('classnum') ]; my @column_option = grep { /^\d+$/ } $cgi->param('part1_column_option') if $cgi->param('part1_column_option');