[freeside-commits] branch master updated. 2027c653847c5dfe77bf25f3a71337f132078e9d

Ivan ivan at 420.am
Thu Dec 20 19:34:17 PST 2012


The branch, master has been updated
       via  2027c653847c5dfe77bf25f3a71337f132078e9d (commit)
      from  89bdc751a892188eebca4a193c8e8e37af8efc35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2027c653847c5dfe77bf25f3a71337f132078e9d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 20 19:34:13 2012 -0800

    fix tax-on-tax (i.e. FEDERAL UNIVERSAL SERVICE FUND) on 2.3 branch, RT#20707

diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 3dc8f9c..0ec6b54 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -831,7 +831,7 @@ sub calculate_taxes {
     my $taxables = $taxlisthash->{$tax};
     my $tax_object = shift @$taxables; # the rest are line items
     foreach my $cust_bill_pkg ( @$taxables ) {
-      next unless ref($cust_bill_pkg) eq 'FS::cust_bill_pkg';
+      next unless ref($cust_bill_pkg) eq 'FS::cust_bill_pkg'; #IS needed for CCH tax-on-tax
 
       my @cust_tax_exempt_pkg = splice @{ $cust_bill_pkg->cust_tax_exempt_pkg };
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Billing.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list