summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_credit.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_credit.html')
-rwxr-xr-xhttemplate/search/cust_credit.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html
index 1ffa302c8..88f9bca13 100755
--- a/httemplate/search/cust_credit.html
+++ b/httemplate/search/cust_credit.html
@@ -195,6 +195,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";