summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2009-10-28 06:13:24 +0000
committerivan <ivan>2009-10-28 06:13:24 +0000
commit00156a6b621cc0e0227564ebbc53bda3aeb9dc14 (patch)
treed9ecc0cdb4e6260bb9e1c657f7e8a48472f64f97 /FS
parent3b6c827909d8cf04949b58a683d0e9e5a7e8e723 (diff)
customer link to package reports for that customer, RT#6180
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm9
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
##