From: ivan Date: Thu, 23 Sep 2010 18:00:11 +0000 (+0000) Subject: additional debug info, RT#10012 X-Git-Tag: TORRUS_1_0_9~275 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=97fcd64d7db5e90605126fd52f86e21efcd5cbec additional debug info, RT#10012 --- diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm index 3638d00f2..8021d38bc 100644 --- a/FS/FS/cust_main/Billing.pm +++ b/FS/FS/cust_main/Billing.pm @@ -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';