summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-15 14:41:23 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-15 14:41:23 -0800
commit963df8e7ebf8577198bf4fac956bbcebe97ec33f (patch)
tree6b88a816d9b50733761ede8d60d749c3c66b4e8d /httemplate
parent17ba8bba03101f28bbea26d2ab6daf7e7fc60e00 (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";