fix(TicketProblems): handle null credit value in risk calculation
This commit is contained in:
parent
6270653589
commit
71dd5fc73d
|
@ -36,7 +36,7 @@ defineProps({ row: { type: Object, required: true } });
|
||||||
>
|
>
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ $t('salesTicketsTable.risk') }}:
|
{{ $t('salesTicketsTable.risk') }}:
|
||||||
{{ toCurrency(row.risk - row.credit) }}
|
{{ toCurrency(row.risk - (row.credit ?? 0)) }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
<QIcon
|
<QIcon
|
||||||
|
|
Loading…
Reference in New Issue