summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-05 18:15:27 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-05 18:15:27 -0800
commitfd4322f01b8c53b3f1f9e54ca15184930b0443de (patch)
tree22834c1efa8ad7d4df612549da6365d10a3a362e
parent1a6848f49af5bed28f7a73c747ce18d8bbe2f31e (diff)
support custnum param even though we wound up not using it here, RT#18676
-rw-r--r--httemplate/search/cust_bill_pkg.cgi5
1 files changed, 5 insertions, 0 deletions
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') ) {