diff options
Diffstat (limited to 'httemplate/search/cust_pkg_report.cgi')
-rwxr-xr-x | httemplate/search/cust_pkg_report.cgi | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/httemplate/search/cust_pkg_report.cgi b/httemplate/search/cust_pkg_report.cgi index b31674540..0dad83a2a 100755 --- a/httemplate/search/cust_pkg_report.cgi +++ b/httemplate/search/cust_pkg_report.cgi @@ -36,23 +36,6 @@ }); </SCRIPT> </TR> -<% my %agent_search = dbdef->table('agent')->column('disabled') - ? ( 'disabled' => '' ) : (); - my @agents = qsearch( 'agent', \%agent_search ); - if ( scalar(@agents) == 1 ) { -%> - <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agents[0]->agentnum %>"> -<% } else { %> - - <TR> - <TD ALIGN="right">Agent: </TD> - <TD><SELECT NAME="agentnum"><OPTION VALUE="">(all) - <% foreach my $agent ( sort { $a->agent cmp $b->agent; } @agents) { %> - <OPTION VALUE="<%= $agent->agentnum %>"><%= $agent->agent %> - <% } %> - </TD> - </TR> -<% } %> </TABLE> <BR><INPUT TYPE="submit" VALUE="Get Report"> |