From 47c250d15d752e6210b9c044a4a64e2e8992c64e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Oct 2013 23:13:09 -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 0cb1b50a2..066b98755 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -4178,6 +4178,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