[freeside-commits] branch FREESIDE_3_BRANCH updated. f36d4080bd950107273af70073549dc7684743db
Jeremy Davis
jeremyd at 420.am
Thu Apr 24 08:19:40 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via f36d4080bd950107273af70073549dc7684743db (commit)
from 8de8d7f1a7c7049698cd12a13bd9f9680fbfa5ae (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 f36d4080bd950107273af70073549dc7684743db
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Apr 24 11:19:27 2014 -0400
#28276 Nacha batch rounding issues
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"
-----------------------------------------------------------------------
Summary of changes:
FS/FS/pay_batch/nacha.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list