[freeside-commits] branch FREESIDE_4_BRANCH updated. b9fdec44072aaf4035ca64dc5d5b66880cbf0cf1

Mark Wells mark at 420.am
Wed Jan 27 13:25:26 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  b9fdec44072aaf4035ca64dc5d5b66880cbf0cf1 (commit)
      from  4345a12b619b87968d6367c196f595e1c4ea4aea (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 b9fdec44072aaf4035ca64dc5d5b66880cbf0cf1
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jan 27 13:03:56 2016 -0800

    fix incorrect merge, #39487

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.

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

Summary of changes:
 FS/FS/TaxEngine/internal.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list