fix: price after discounts

This commit is contained in:
Sebastian Rindom
2021-02-15 17:03:40 +01:00
parent 6e6669dee8
commit 0ed6b4a6a0

View File

@@ -126,7 +126,7 @@ class SegmentService extends BaseService {
return {
name,
variant,
price: unit_price / 100,
price: line_total / 100 / item.quantity,
reporting_revenue: revenue,
product_id: item.variant.product_id,
sku,