RT#25026: Option to include taxes in sales report
[freeside.git] / httemplate / search / cust_bill_pkg.cgi
index 82e87fb..c59a6d0 100644 (file)
@@ -659,18 +659,6 @@ if ( $cgi->param('nottax') ) {
 
   } #end of "normal case"
 
-  # classnum (of underlying package)
-  # not specified: all classes
-  # 0: empty class
-  # N: classnum
-  if ( grep { $_ eq 'classnum' } $cgi->param ) {
-    my @classnums = grep /^\d+$/, $cgi->param('classnum');
-    push @where, "COALESCE(part_fee.classnum, $part_pkg.classnum, 0) IN ( ".
-                     join(',', @classnums ).
-                 ' )'
-      if @classnums;
-  }
-
 } # nottax / istax