diff options
author | ivan <ivan> | 2005-10-28 11:56:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-10-28 11:56:48 +0000 |
commit | f1a6cb69d064ea81e51f6bc29e2cdb7d695980a6 (patch) | |
tree | 2b5f1c75d5fc26cf305f7e6b13f64262075a964e /httemplate/search/cust_bill_event.cgi | |
parent | 51ee6aade4795bf31954e4a5e6aff685a8c31b8b (diff) |
don't show 'N/A' statustext as a failed billing event
Diffstat (limited to 'httemplate/search/cust_bill_event.cgi')
-rw-r--r-- | httemplate/search/cust_bill_event.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
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 = { |