fix: better rounding of totals

This commit is contained in:
Sebastian Rindom committed 2020-08-28 12:47:53 +02:00
1 parent 9650f7d1c1
commit 3093cba610
3 files changed
+26 -20

No files matched your search

@@ -524,7 +524,7 @@ class BrightpearlService extends BaseService {
)
let lineDiscounts = []
if (discount) {
lineDiscounts = this.discountService_.getLineDiscounts(
lineDiscounts = this.totalsService_.getLineDiscounts(
fromOrder,
discount
)