summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-15 14:41:16 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-15 14:41:16 -0800
commit11171a2f45def9e2edc48d8e5c545a5005ed6bd0 (patch)
tree8be6219c1aa7877445668e56c9c78ae35eb1cac7 /httemplate
parentb7c25d5e38e6459efe5d1c2f09f437b79798038e (diff)
bulk credit import, RT#26319
Diffstat (limited to 'httemplate')
-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 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";