From 15f3b67f04275a8dd0b0fde35cd4e350557a2db0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 20 Dec 2012 19:31:49 -0800 Subject: [PATCH] fix tax-on-tax (i.e. FEDERAL UNIVERSAL SERVICE FUND) on 2.3 branch, RT#20707 --- FS/FS/cust_main/Billing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm index 0fb91efe1..3837ad2c1 100644 --- a/FS/FS/cust_main/Billing.pm +++ b/FS/FS/cust_main/Billing.pm @@ -799,7 +799,7 @@ sub calculate_taxes { my %packagemap = map { $_->pkgnum => $_ } @$cust_bill_pkg; foreach my $tax ( keys %$taxlisthash ) { foreach ( @{ $taxlisthash->{$tax} }[1 .. scalar(@{ $taxlisthash->{$tax}}) - 1] ) { - #next unless ref($_) eq 'FS::cust_bill_pkg'; #no longer needed + next unless ref($_) eq 'FS::cust_bill_pkg'; my @cust_tax_exempt_pkg = splice( @{ $_->_cust_tax_exempt_pkg } ); -- 2.20.1