projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2a48f
)
#28276 Nacha batch rounding issues
author
Jeremy Davis
<jeremyd@freeside.biz>
Thu, 24 Apr 2014 15:17:11 +0000
(11:17 -0400)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Thu, 24 Apr 2014 15:17:11 +0000
(11:17 -0400)
FS/FS/pay_batch/nacha.pm
patch
|
blob
|
history
diff --git
a/FS/FS/pay_batch/nacha.pm
b/FS/FS/pay_batch/nacha.pm
index
d6786e0
..
c8d784d
100644
(file)
--- a/
FS/FS/pay_batch/nacha.pm
+++ b/
FS/FS/pay_batch/nacha.pm
@@
-148,7
+148,7
@@
$DEBUG = 0;
$transaction_code. #Transaction Code
$aba. #Receiving DFI Identification, check digit
substr($account.(' 'x17), 0, 17). #DFI Account number (Left justify)
- sprintf('%010
d
', $cust_pay_batch->amount * 100). #Amount
+ sprintf('%010
.0f
', $cust_pay_batch->amount * 100). #Amount
$cust_identifier. #Individual Identification Number, 15 char
$cust_name. #Individual name (22-char)
' '. #2 char "company internal use if desired"