fix: price scope

This commit is contained in:
Methapon Metanipat 2024-10-18 09:58:17 +07:00
parent 43c4147eaa
commit c2848d1005

View file

@ -286,9 +286,10 @@ watch(
<q-td align="right">
{{
formatNumberDecimal(
props.row.pricePerUnit + props.row.product.calcVat
? props.row.pricePerUnit * (config?.vat || 0.07)
: 0,
props.row.pricePerUnit +
(props.row.product.calcVat
? props.row.pricePerUnit * (config?.vat || 0.07)
: 0),
2,
)
}}