improvements to 477 report, #21703
[freeside.git] / httemplate / search / 477partV.html
index 2106a44..b2dd9ca 100755 (executable)
@@ -1,3 +1,6 @@
+% if ( $cgi->param('_type') =~ /^xml$/ ) {
+<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;