no need to warn, a combined lineitem report is a normal function now, RT#18676
authorIvan Kohler <ivan@freeside.biz>
Fri, 21 Dec 2012 04:51:56 +0000 (20:51 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 21 Dec 2012 04:51:56 +0000 (20:51 -0800)
httemplate/search/cust_bill_pkg.cgi

index 712adb7..6ed6ca1 100644 (file)
@@ -635,15 +635,8 @@ if ( $cgi->param('nottax') ) {
     }
   }
 
-} else { 
+} # nottax / istax
 
-  #die?
-  warn "neiether nottax nor istax parameters specified";
-  #same as before?
-  $join_pkg =  ' LEFT JOIN cust_pkg USING ( pkgnum )
-                 LEFT JOIN part_pkg USING ( pkgpart ) ';
-
-}
 
 #total payments
 my $pay_sub = "SELECT SUM(cust_bill_pay_pkg.amount) AS pay_amount,