summaryrefslogtreecommitdiff
path: root/FS/FS/pay_batch
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2014-04-24 11:17:11 -0400
committerJeremy Davis <jeremyd@freeside.biz>2014-04-24 11:17:11 -0400
commitf5f14337e9657c96f35fa34a824fffab40bee2c1 (patch)
treeb51210321226f61aaea9a28cccbb84188fb2ab59 /FS/FS/pay_batch
parent4b2a48f5247303f07a00b42eb3091145be1150e2 (diff)
#28276 Nacha batch rounding issues
Diffstat (limited to 'FS/FS/pay_batch')
-rw-r--r--FS/FS/pay_batch/nacha.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/pay_batch/nacha.pm b/FS/FS/pay_batch/nacha.pm
index d6786e0..c8d784d 100644
--- 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('%010d', $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"