[freeside-commits] branch FREESIDE_3_BRANCH updated. 0d871abc285eeb0c5f8dd72b51fcc4698c3b1329
Ivan
ivan at 420.am
Sat Apr 2 10:34:39 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 0d871abc285eeb0c5f8dd72b51fcc4698c3b1329 (commit)
via a9491c1a6c3be10f43bda388804e70b0cf95ceb8 (commit)
from 88a08dcdebbdfe2d9ad223922e3505ee019862ae (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 0d871abc285eeb0c5f8dd72b51fcc4698c3b1329
Merge: a9491c1 88a08dc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Apr 2 10:34:35 2016 -0700
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
commit a9491c1a6c3be10f43bda388804e70b0cf95ceb8
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Apr 2 10:33:08 2016 -0700
round unitsetup and unitrecur rather than error out about them, RT#41570
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 37d7872..2f9eecd 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1474,9 +1474,9 @@ sub _make_lines {
my $cust_bill_pkg = new FS::cust_bill_pkg {
'pkgnum' => $cust_pkg->pkgnum,
'setup' => $setup,
- 'unitsetup' => $unitsetup,
+ 'unitsetup' => sprintf('%.2f', $unitsetup),
'recur' => $recur,
- 'unitrecur' => $unitrecur,
+ 'unitrecur' => sprintf('%.2f', $unitrecur),
'quantity' => $cust_pkg->quantity,
'details' => \@details,
'discounts' => [ @setup_discounts, @recur_discounts ],
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main/Billing.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list