[freeside-commits] branch FREESIDE_3_BRANCH updated. a33bb156250931929f9f96f7a0cc60bc9e149d22

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


The branch, FREESIDE_3_BRANCH has been updated
       via  a33bb156250931929f9f96f7a0cc60bc9e149d22 (commit)
      from  861c90163e1b7c564ef7905d657b3cf16e7a328d (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 a33bb156250931929f9f96f7a0cc60bc9e149d22
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Apr 25 13:36:41 2017 -0700

    optimize legacy CCH taxation, RT#74494

diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index b18f8ee..8c08f42 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -726,7 +726,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