From: Mark Wells Date: Wed, 27 Jan 2016 21:03:56 +0000 (-0800) Subject: fix incorrect merge, #39487 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=72b59219418476ef2fa42dac5456d736b76f5810 fix incorrect merge, #39487 --- diff --git a/FS/FS/TaxEngine/internal.pm b/FS/FS/TaxEngine/internal.pm index d2a5d7fa6..4ca1ea8b6 100644 --- a/FS/FS/TaxEngine/internal.pm +++ b/FS/FS/TaxEngine/internal.pm @@ -266,7 +266,7 @@ sub taxline { $taxable_charged = sprintf( "%.2f", $taxable_charged); next if $taxable_charged == 0; - my $this_tax_cents = $taxable_charged * $self->tax; + my $this_tax_cents = $taxable_charged * $tax_object->tax; if ( $round_per_line_item ) { # Round the tax to the nearest cent for each line item, instead of # across the whole invoice.