diff options
| author | ivan <ivan> | 2003-12-27 08:24:13 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2003-12-27 08:24:13 +0000 |
| commit | 0e9d0175f15e1de80c773e0f8b654340295ed025 (patch) | |
| tree | d6dbb09ee5e9ae5cea908836c98f696c4fccca00 /httemplate/search/cust_pkg_report.cgi | |
| parent | c7a9fb2edba3264683b8f6195f7dba53210af0b2 (diff) | |
package reports by agent
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"> |
