add options for balance over/under to advanced customer report
[freeside.git] / httemplate / search / cust_bill_event.cgi
index 51f9f88..8f63d9c 100644 (file)
@@ -85,7 +85,7 @@ if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {
   = FS::UI::Web::parse_beginning_ending($cgi);
 
 if ( $cgi->param('failed') ) {
-  push $search{failed} = '1';
+  $search{failed} = '1';
 }
 
 if ( $cgi->param('part_bill_event.payby') =~ /^(\w+)$/ ) {
@@ -121,8 +121,6 @@ my $count_sql = "SELECT COUNT(*) FROM cust_bill_event $join $where";
 
 my $conf = new FS::Conf;
 
-my $failed = $cgi->param('failed');
-
 my $html_init = '
     <FONT SIZE="+1">Invoice events are the deprecated, old-style actions taken o
 n open invoices.  See Reports-&gt;Billing events-&gt;Billing events for current event reports.</FONT><BR><BR>';