summaryrefslogtreecommitdiff
path: root/FS/FS/TaxEngine
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-01-27 13:03:56 -0800
committerMark Wells <mark@freeside.biz>2016-01-27 13:04:23 -0800
commitb9fdec44072aaf4035ca64dc5d5b66880cbf0cf1 (patch)
tree07648559affd1ea605faa30d534e3617e70fb0d9 /FS/FS/TaxEngine
parent4345a12b619b87968d6367c196f595e1c4ea4aea (diff)
fix incorrect merge, #39487
Diffstat (limited to 'FS/FS/TaxEngine')
-rw-r--r--FS/FS/TaxEngine/internal.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/TaxEngine/internal.pm b/FS/FS/TaxEngine/internal.pm
index d2a5d7f..4ca1ea8 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.