From: ivan Date: Tue, 15 Jul 2008 20:56:11 +0000 (+0000) Subject: prevent inactive customers from showing up in reports of cancelled customers X-Git-Tag: freeside_1_7_4rc1~239 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=6247301726d369e85f94d32ca4a2943a9a325f92;p=freeside.git prevent inactive customers from showing up in reports of cancelled customers --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index d5250ef61..ed35adbd3 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4570,6 +4570,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. " ) "; }