summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-27 22:40:44 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-06-27 22:40:44 -0500
commit735f73aec092f56df6289e0fe4f655d57c11f93f (patch)
tree68188974379b817437dc29b9b37433341f10acb7 /httemplate
parent6fbdc0d20421de8e0d93eb9d332a0683efb994cc (diff)
RT#15006: Bug? Cancelled customers shown in reports?
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/cust_main.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index 62231a120..da6c89d44 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -501,7 +501,7 @@ if ( $cgi->param('browse')
);
}
- @cust_main = grep { $_->num_ncancelled_pkgs || ! $_->num_pkgs } @cust_main
+ @cust_main = grep { $_->status ne 'cancelled' } @cust_main
if ! $cgi->param('cancelled')
&& (
$cgi->param('showcancelledcustomers') eq '0' #see if it was set by me