diff options
Diffstat (limited to 'httemplate/search/cust_credit.html')
-rwxr-xr-x | httemplate/search/cust_credit.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html index 654988e2b..5214ea3c1 100755 --- a/httemplate/search/cust_credit.html +++ b/httemplate/search/cust_credit.html @@ -197,6 +197,10 @@ if ( $cgi->param('credbatch') =~ /^([\w\-\/\.\:]+)$/ ) { push @search, "cust_credit.credbatch = '$1'"; } +if ( $cgi->param('reasonnum') =~ /^(\d+)$/ && $1 ) { + push @search, "cust_credit.reasonnum = $1"; +} + # commission_salesnum if ( $cgi->param('commission_salesnum') =~ /^(\d+)$/ ) { push @search, "commission_salesnum = $1"; |