EFT Canada batch format and scripts, #13628
[freeside.git] / httemplate / search / cdr.html
index c77fc35..cefc0fe 100644 (file)
@@ -94,6 +94,19 @@ if ( $cgi->param('freesidestatus') eq 'NULL' ) {
 
 }
 
+###
+# cdrtypenum
+###
+
+if ( $cgi->param('cdrtypenum') =~ /^(\d+)$/ ) {
+    $hashref->{'cdrtypenum'} = $1;
+    push @search, "cdrtypenum = $1";
+}
+elsif ( $cgi->param('cdrtypenum') eq 'none' ) {
+    $hashref->{'cdrtypenum'} = '';
+    push @search, "cdrtypenum is null";
+}
+
 ###
 # termpartNstatus
 ###