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-28 06:58:36 -0500
commita3d005eab682ad0ff9bbb75d6794bd0279f123da (patch)
tree4efe88177c460e22f473ead1fdfd11a79cc4e72d /httemplate
parentba4c3441c41303528ad0a51efa23e916083bb3ee (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 a3a7aef6b..b6aa0fa6d 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -503,7 +503,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