additional debug info, RT#10012
authorivan <ivan>
Thu, 23 Sep 2010 18:02:33 +0000 (18:02 +0000)
committerivan <ivan>
Thu, 23 Sep 2010 18:02:33 +0000 (18:02 +0000)
FS/FS/cust_main/Billing.pm

index 8021d38..d24221e 100644 (file)
@@ -722,6 +722,7 @@ sub calculate_taxes {
     foreach ( @{ $taxlisthash->{$tax} }[1 ... scalar(@{ $taxlisthash->{$tax} })] ) {
       next unless ref($_) eq 'FS::cust_bill_pkg';
 
+      warn $_->pkgnum."\n" if $DEBUG > 2;
       push @{ $packagemap{$_->pkgnum}->_cust_tax_exempt_pkg }, 
         splice( @{ $_->_cust_tax_exempt_pkg } );
     }