summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-20 19:34:06 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-20 19:34:06 -0800
commitd14751b1bf9660a35361d25ed3bb6fc42187fcf4 (patch)
tree85275029cf00b896a0a0c9d7a9bb83e9531afa3e
parent15f3b67f04275a8dd0b0fde35cd4e350557a2db0 (diff)
fix tax-on-tax (i.e. FEDERAL UNIVERSAL SERVICE FUND) on 2.3 branch, RT#20707
-rw-r--r--FS/FS/cust_main/Billing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 3837ad2c1..1487feec1 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';
+ next unless ref($_) eq 'FS::cust_bill_pkg'; #IS needed for CCH tax-on-tax
my @cust_tax_exempt_pkg = splice( @{ $_->_cust_tax_exempt_pkg } );