From: ivan Date: Tue, 15 Jul 2008 20:56:05 +0000 (+0000) Subject: prevent inactive customers from showing up in reports of cancelled customers X-Git-Tag: root_of_webpay_support~483 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=65c9c676535ac629adbb7d6480afec0c6199910d;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 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. " ) "; }