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"> <q-td align="right">
{{ {{
formatNumberDecimal( formatNumberDecimal(
props.row.pricePerUnit + props.row.product.calcVat props.row.pricePerUnit +
? props.row.pricePerUnit * (config?.vat || 0.07) (props.row.product.calcVat
: 0, ? props.row.pricePerUnit * (config?.vat || 0.07)
: 0),
2, 2,
) )
}} }}