diff options
author | ivan <ivan> | 2009-10-28 06:15:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-28 06:15:09 +0000 |
commit | 45d41ae99ced1b28595b2f2080ac9186be6d33b5 (patch) | |
tree | c8539233dd439f9d683e90b99a07caa4b3eb5085 /FS | |
parent | fdb1118b5c494c67e883b2c2ff1a8a1b30a7b7ab (diff) |
customer link to package reports for that customer, RT#6180
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index fc44540a1..e4846ec34 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2367,6 +2367,15 @@ sub search_sql { } ## + # parse custnum + ## + + if ( $params->{'custnum'} =~ /^(\d+)$/ and $1 ) { + push @where, + "cust_pkg.custnum = $1"; + } + + ## # parse status ## |