refactor: add * length

This commit is contained in:
Thanaphon Frappet 2025-01-24 13:59:24 +07:00
parent 9a71f5a8d1
commit feab90028a

View file

@ -240,7 +240,12 @@ function calcPrice(
</q-td>
<!-- before vat -->
<q-td class="text-right" v-if="!creditNote">
{{ formatNumberDecimal(calcPricePerUnit(props.row.product), 2) }}
{{
formatNumberDecimal(
calcPricePerUnit(props.row.product) * props.row.list.length,
2,
)
}}
</q-td>
<!-- vat -->
<q-td class="text-right" v-if="!creditNote">