From: ivan Date: Sat, 3 Jan 2004 18:14:58 +0000 (+0000) Subject: oops, forgot to backport agent selection from 1.5 X-Git-Tag: freeside_1_4_2beta1~329 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=98dad00b5dbca92a649d32dce7001163434539cc;p=freeside.git oops, forgot to backport agent selection from 1.5 --- diff --git a/httemplate/search/cust_pkg_report.cgi b/httemplate/search/cust_pkg_report.cgi index 0dad83a2a..b31674540 100755 --- a/httemplate/search/cust_pkg_report.cgi +++ b/httemplate/search/cust_pkg_report.cgi @@ -36,6 +36,23 @@ }); +<% my %agent_search = dbdef->table('agent')->column('disabled') + ? ( 'disabled' => '' ) : (); + my @agents = qsearch( 'agent', \%agent_search ); + if ( scalar(@agents) == 1 ) { +%> + +<% } else { %> + + + Agent: +