From: ivan Date: Fri, 28 Oct 2005 11:56:48 +0000 (+0000) Subject: don't show 'N/A' statustext as a failed billing event X-Git-Tag: SQL_LEDGER_2_4_4~1^2~106 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=f1a6cb69d064ea81e51f6bc29e2cdb7d695980a6;p=freeside.git don't show 'N/A' statustext as a failed billing event --- diff --git a/httemplate/search/cust_bill_event.cgi b/httemplate/search/cust_bill_event.cgi index df4dcbf42..a21fb1912 100644 --- a/httemplate/search/cust_bill_event.cgi +++ b/httemplate/search/cust_bill_event.cgi @@ -15,7 +15,9 @@ my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi); my $where = " WHERE cust_bill_event._date >= $beginning". " AND cust_bill_event._date <= $ending"; -$where .= " AND statustext != '' AND statustext IS NOT NULL" +$where .= " AND statustext != '' ". + " AND statustext IS NOT NULL ". + " AND statustext != 'N/A' " if $cgi->param('failed'); my $sql_query = {