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

index 3638d00..8021d38 100644 (file)
@@ -717,6 +717,7 @@ sub calculate_taxes {
 
   #move the cust_tax_exempt_pkg records to the cust_bill_pkgs we will commit
   my %packagemap = map { $_->pkgnum => $_ } @$cust_bill_pkg;
+  warn Dumper(\%packagemap) if $DEBUG > 2;
   foreach my $tax ( keys %$taxlisthash ) {
     foreach ( @{ $taxlisthash->{$tax} }[1 ... scalar(@{ $taxlisthash->{$tax} })] ) {
       next unless ref($_) eq 'FS::cust_bill_pkg';