diff --git a/src/components/04_product-service/PriceDataComponent.vue b/src/components/04_product-service/PriceDataComponent.vue index b45549d0..b8ba324c 100644 --- a/src/components/04_product-service/PriceDataComponent.vue +++ b/src/components/04_product-service/PriceDataComponent.vue @@ -304,12 +304,21 @@ withDefaults( calculatePrice({ output: 'vat', calcVat: calcVat, - price: - (props.rowIndex === 0 - ? price - : props.rowIndex === 1 - ? agentPrice - : serviceCharge) || 0, + price: Number( + formatNumberDecimal( + calculatePrice({ + output: 'beforeVat', + vatIncluded: vatIncluded, + price: + (props.rowIndex === 0 + ? price + : props.rowIndex === 1 + ? agentPrice + : serviceCharge) || 0, + }), + 2, + ).replaceAll(',', ''), + ), }), 2, )