support custnum param even though we wound up not using it here, RT#18676
authorIvan Kohler <ivan@freeside.biz>
Thu, 6 Dec 2012 02:15:27 +0000 (18:15 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 6 Dec 2012 02:15:27 +0000 (18:15 -0800)
httemplate/search/cust_bill_pkg.cgi

index 4c0fa4a..ed34440 100644 (file)
@@ -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') ) {