projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ee119
)
set suretax DataYear and DataMonth to the invoice year and month, RT#76786
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 18 Jul 2017 01:45:01 +0000
(18:45 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 18 Jul 2017 01:45:01 +0000
(18:45 -0700)
FS/FS/TaxEngine/suretax.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TaxEngine/suretax.pm
b/FS/FS/TaxEngine/suretax.pm
index
0f6c69d
..
1a00cda
100644
(file)
--- 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,