projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
63075e1
)
fix tax-on-tax (i.e. FEDERAL UNIVERSAL SERVICE FUND) on 2.3 branch, RT#20707
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 21 Dec 2012 03:31:49 +0000
(19:31 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 21 Dec 2012 03:31:49 +0000
(19:31 -0800)
FS/FS/cust_main/Billing.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing.pm
b/FS/FS/cust_main/Billing.pm
index
0fb91ef
..
3837ad2
100644
(file)
--- 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 } );