refactor: add * length
This commit is contained in:
parent
9a71f5a8d1
commit
feab90028a
1 changed files with 6 additions and 1 deletions
|
|
@ -240,7 +240,12 @@ function calcPrice(
|
||||||
</q-td>
|
</q-td>
|
||||||
<!-- before vat -->
|
<!-- before vat -->
|
||||||
<q-td class="text-right" v-if="!creditNote">
|
<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>
|
</q-td>
|
||||||
<!-- vat -->
|
<!-- vat -->
|
||||||
<q-td class="text-right" v-if="!creditNote">
|
<q-td class="text-right" v-if="!creditNote">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue