package web import from CSV/XLS, RT#9529
[freeside.git] / FS / FS / cust_pkg.pm
index 0f9a611..c3ee4e4 100644 (file)
@@ -2624,6 +2624,15 @@ sub search {
   }
 
   ##
+  # custbatch
+  ##
+
+  if ( $params->{'pkgbatch'} =~ /^([\w\/\-\:\.]+)$/ and $1 ) {
+    push @where,
+      "cust_pkg.pkgbatch = '$1'";
+  }
+
+  ##
   # parse status
   ##