X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_credit.html;h=78bb1e4c33d5a89bb0abfbf1a2044d5bd71f19e2;hp=0fbc6fc8c7250086885fee0d36530f2cc4d9ad52;hb=8311e00fcc3cd65fa75c2911aae59803e2402466;hpb=dbd3c301113a4cfd77595afd7aecd6cb13d02d9d diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html index 0fbc6fc8c..78bb1e4c3 100755 --- a/httemplate/search/cust_credit.html +++ b/httemplate/search/cust_credit.html @@ -96,6 +96,10 @@ if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) { $title = $agent->agent. " $title"; } +if ( $cgi->param('credbatch') =~ /^([\w\-\/\.\:]+)$/ ) { + push @search, "cust_credit.credbatch = '$1'"; +} + if ( $cgi->param('refnum') && $cgi->param('refnum') =~ /^(\d+)$/ ) { push @search, "refnum = $1"; my $part_referral = qsearchs('part_referral', { 'refnum' => $1 } );