diff options
Diffstat (limited to 'httemplate')
-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 fb6ef834b..45261711b 100755 --- a/httemplate/search/cust_credit.html +++ b/httemplate/search/cust_credit.html @@ -97,6 +97,10 @@ if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) { $title = $agent->agent. " $title"; } +if ( $cgi->param('credbatch') =~ /^([\w\-\/\.\:]+)$/ ) { + push @search, "cust_credit.credbatch = '$1'"; +} + # commission_salesnum if ( $cgi->param('commission_salesnum') =~ /^(\d+)$/ ) { push @search, "commission_salesnum = $1"; |