From 9b9cbf2f56e22dd42a49a993df0a557d6b43b9cc Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Oct 2013 23:13:10 -0700 Subject: add customer status to advanced package report, RT#24631 --- FS/FS/cust_pkg.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'FS') diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 6124ad498..72c1bb199 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -4134,6 +4134,14 @@ sub search { "cust_main.agentnum = $1"; } + ## + # parse cust_status + ## + + if ( $params->{'cust_status'} =~ /^([a-z]+)$/ ) { + push @where, FS::cust_main->cust_status_sql . " = '$1' "; + } + ## # parse customer sales person ## -- cgit v1.2.1