[freeside-commits] branch master updated. 9314b55f352d9ba389cd5c09d9eed2f0d2e9c83b

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


The branch, master has been updated
       via  9314b55f352d9ba389cd5c09d9eed2f0d2e9c83b (commit)
      from  1fab5627e44b8b27866df4c6a407403117f2301a (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 9314b55f352d9ba389cd5c09d9eed2f0d2e9c83b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Apr 25 13:36:37 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