From fd4322f01b8c53b3f1f9e54ca15184930b0443de Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 5 Dec 2012 18:15:27 -0800 Subject: [PATCH] support custnum param even though we wound up not using it here, RT#18676 --- httemplate/search/cust_bill_pkg.cgi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 4c0fa4a56..ed3444027 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -200,6 +200,11 @@ if ( $cgi->param('refnum') =~ /^(\d+)$/ ) { push @where, "cust_main.refnum = $1"; } +# custnum +if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { + push @where, "cust_main.custnum = $1"; +} + # the non-tax case if ( $cgi->param('nottax') ) { -- 2.11.0