X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_main_county.pm;h=87c1ca730addb5c46a33f349621512e5c164b72a;hb=b62f98268b17471c7b195d7d193b33c4a6915892;hp=143f62ed3e10b0d5d4056fdb93a5cd8de52570f7;hpb=82d8565fbeaebd69177a3a14d833685ecb86a545;p=freeside.git diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm index 143f62ed3..87c1ca730 100644 --- a/FS/FS/cust_main_county.pm +++ b/FS/FS/cust_main_county.pm @@ -472,8 +472,11 @@ sub taxline { $_->taxnum($self->taxnum) foreach @new_exemptions; - if ( $cust_bill_pkg->billpkgnum ) { - die "tried to calculate tax exemptions on a previously billed line item\n"; + #if ( $cust_bill_pkg->billpkgnum ) { + + #no, need to do this to e.g. calculate tax credit amounts + #die "tried to calculate tax exemptions on a previously billed line item\n"; + # this is unnecessary # foreach my $cust_tax_exempt_pkg (@new_exemptions) { # my $error = $cust_tax_exempt_pkg->insert; @@ -482,7 +485,7 @@ sub taxline { # return "can't insert cust_tax_exempt_pkg: $error"; # } # } - } + #} # attach them to the line item push @{ $cust_bill_pkg->cust_tax_exempt_pkg }, @new_exemptions;