[freeside-commits] branch FREESIDE_4_BRANCH updated. 09cd94c0e31ea5d9a23ef233c8154bcde29979b5

Ivan ivan at 420.am
Tue Apr 25 13:36:40 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  09cd94c0e31ea5d9a23ef233c8154bcde29979b5 (commit)
      from  95ba23d356d292d30023f94d4bc2eb8712f148cc (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 09cd94c0e31ea5d9a23ef233c8154bcde29979b5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Apr 25 13:36:39 2017 -0700

    optimize legacy CCH taxation, RT#74494

diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index c6fe243..5416ff5 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -689,7 +689,9 @@ sub tax_on_tax {
     "AND (".  join(' OR ', map { "taxclassnum = $_" } @taxclassnums ). ")";
 
   qsearch({ 'table'     => 'tax_rate',
-            'hashref'   => { 'geocode' => $geocode, },
+            'hashref'   => { 'data_vendor' => $self->data_vendor,
+                             'geocode'     => $geocode,
+                           },
             'extra_sql' => $extra_sql,
          })
 

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

Summary of changes:
 FS/FS/tax_rate.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list