summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-10-10 23:13:10 -0700
committerIvan Kohler <ivan@freeside.biz>2013-10-10 23:13:10 -0700
commit9b9cbf2f56e22dd42a49a993df0a557d6b43b9cc (patch)
tree086f84f775527b9b376a26cfff0e74b4e60c57b9 /FS
parent044e3bcb6bbe6d011116b4a0cfa49023e6c391f0 (diff)
add customer status to advanced package report, RT#24631
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm8
1 files changed, 8 insertions, 0 deletions
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
@@ -4135,6 +4135,14 @@ sub search {
}
##
+ # parse cust_status
+ ##
+
+ if ( $params->{'cust_status'} =~ /^([a-z]+)$/ ) {
+ push @where, FS::cust_main->cust_status_sql . " = '$1' ";
+ }
+
+ ##
# parse customer sales person
##