projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
search
/
477partV.html
diff --git
a/httemplate/search/477partV.html
b/httemplate/search/477partV.html
index
f83a7a0
..
b2dd9ca
100755
(executable)
--- a/
httemplate/search/477partV.html
+++ b/
httemplate/search/477partV.html
@@
-1,3
+1,6
@@
+% if ( $cgi->param('_type') =~ /^xml$/ ) {
+<zip_code>
+% }
<& elements/search.html,
'html_init' => $html_init,
'name' => 'zip code',
<& elements/search.html,
'html_init' => $html_init,
'name' => 'zip code',
@@
-14,6
+17,9
@@
&>
&>
+% if ( $cgi->param('_type') =~ /^xml$/ ) {
+</zip_code>
+% }
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
@@
-32,8
+38,8
@@
for ( qw(agentnum magic state) ) {
}
$search_hash{'country'} = 'US';
$search_hash{'classnum'} = [ $cgi->param('classnum') ];
}
$search_hash{'country'} = 'US';
$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,