From 65c9c676535ac629adbb7d6480afec0c6199910d Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2008 20:56:05 +0000 Subject: [PATCH] prevent inactive customers from showing up in reports of cancelled customers --- FS/FS/cust_main.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 53bf9f3ca..b9c2d66e0 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5204,6 +5204,7 @@ sub cancel_sql { AND 0 = ( $select_count_pkgs AND $recurring_sql AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 ) ) + AND 0 = ( $select_count_pkgs AND ". FS::cust_pkg->inactive_sql. " ) "; } -- 2.20.1