[freeside-commits] branch FREESIDE_4_BRANCH updated. 4fb5738f5391547e6c87c73c4325ea8c2b506d73
Ivan
ivan at 420.am
Mon Jul 17 18:45:08 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 4fb5738f5391547e6c87c73c4325ea8c2b506d73 (commit)
from 7b45b98a32323af93e24369650fb39f9427e4e7f (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 4fb5738f5391547e6c87c73c4325ea8c2b506d73
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jul 17 18:45:04 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