projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
omit from history
[freeside.git]
/
httemplate
/
search
/
477partV.html
diff --git
a/httemplate/search/477partV.html
b/httemplate/search/477partV.html
index
a7dc2ee
..
91345eb
100755
(executable)
--- a/
httemplate/search/477partV.html
+++ b/
httemplate/search/477partV.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => $html_init,
'name' => 'zip code',
'query' => $sql_query,
'html_init' => $html_init,
'name' => 'zip code',
'query' => $sql_query,
@@
-12,8
+12,8
@@
'url' => $opt{url} || '',
'really_disable_download' => 1,
'url' => $opt{url} || '',
'really_disable_download' => 1,
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
@@
-27,12
+27,13
@@
my %search_hash = ();
my @sql_query = ();
my @count_query = ();
my @sql_query = ();
my @count_query = ();
-for ( qw(agentnum magic) ) {
+for ( qw(agentnum magic
state
) ) {
$search_hash{$_} = $cgi->param($_) if $cgi->param($_);
}
$search_hash{$_} = $cgi->param($_) if $cgi->param($_);
}
+$search_hash{'country'} = 'US';
$search_hash{'classnum'} = [ $cgi->param('classnum') ];
$search_hash{'classnum'} = [ $cgi->param('classnum') ];
-$search_hash{report_option} = $cgi->param('part
v
_report_option')
- if $cgi->param('part
v
_report_option');
+$search_hash{report_option} = $cgi->param('part
5
_report_option')
+ if $cgi->param('part
5
_report_option');
my $sql_query = FS::cust_pkg->search( { %search_hash,
#'fcc_line' => 1,
my $sql_query = FS::cust_pkg->search( { %search_hash,
#'fcc_line' => 1,