summaryrefslogtreecommitdiff
path: root/FS/FS/pay_batch
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2013-05-02 12:32:21 -0400
committerJeremy Davis <jeremyd@freeside.biz>2013-05-02 12:32:21 -0400
commitdfe6570a5d327350d93148633bef5eb8c1aaa9d3 (patch)
treebf4306e98c9d604174ef8af700e77ad104e0dfa4 /FS/FS/pay_batch
parent51d26d73eb99d9f7f45591fa6a4b99c3a3429565 (diff)
Fixed Rounding issue in summary
Diffstat (limited to 'FS/FS/pay_batch')
-rw-r--r--FS/FS/pay_batch/BoM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/pay_batch/BoM.pm b/FS/FS/pay_batch/BoM.pm
index a3708d4..b609df3 100644
--- a/FS/FS/pay_batch/BoM.pm
+++ b/FS/FS/pay_batch/BoM.pm
@@ -59,7 +59,7 @@ $name = 'BoM';
footer => sub {
my ($pay_batch, $batchcount, $batchtotal) = @_;
sprintf( "YD%08u%014.0f%55s\n", $batchcount, $batchtotal*100, ""). #80
- sprintf( "Z%014u%05u%014u%05u%40s", #80 now
+ sprintf( "Z%014.0f%05u%014u%05u%40s", #80 now
$batchtotal*100, $batchcount, "0", "0", "");
},
);