diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 23:13:09 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-10 23:13:09 -0700 |
commit | 47c250d15d752e6210b9c044a4a64e2e8992c64e (patch) | |
tree | c7f19dabfa3c694d0847f19d33e6977f40cf00dd /FS | |
parent | 54db570dc261f7cde343fa78ef92855f6d576570 (diff) |
add customer status to advanced package report, RT#24631
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -4179,6 +4179,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 ## |