[freeside-commits] branch master updated. f1a8960924a076c978bb28d6a3ca241e62438950

Ivan ivan at 420.am
Mon Jul 17 18:45:04 PDT 2017


The branch, master has been updated
       via  f1a8960924a076c978bb28d6a3ca241e62438950 (commit)
      from  a9ee1198b7bad7b6d62776634496d1e1d9d1dde7 (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 f1a8960924a076c978bb28d6a3ca241e62438950
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 17 18:45:01 2017 -0700

    set suretax DataYear and DataMonth to the invoice year and month, RT#76786

diff --git a/FS/FS/TaxEngine/suretax.pm b/FS/FS/TaxEngine/suretax.pm
index 0f6c69d..1a00cda 100644
--- a/FS/FS/TaxEngine/suretax.pm
+++ b/FS/FS/TaxEngine/suretax.pm
@@ -97,8 +97,8 @@ sub build_request {
     ClientNumber  => $ClientNumber,
     ValidationKey => $ValidationKey,
     BusinessUnit  => $BusinessUnit,
-    DataYear      => '2015', #$date->year,
-    DataMonth     => '04', #sprintf('%02d', $date->month),
+    DataYear      => $date->year,
+    DataMonth     => sprintf('%02d', $date->month),
     TotalRevenue  => sprintf('%.4f', $cust_bill->charged),
     ReturnFileCode    => ($self->{estimate} ? 'Q' : '0'),
     ClientTracking  => $cust_bill->invnum,

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

Summary of changes:
 FS/FS/TaxEngine/suretax.pm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list