0
0
Fork 0

refs #7962 fix claimSummary

This commit is contained in:
Carlos Satorres 2024-09-11 10:23:27 +02:00
parent b9c721728f
commit 1c9e13fe15
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ const detailsColumns = ref([
{
name: 'total',
label: 'claim.total',
field: ({ sale }) =>
toCurrency(sale.quantity * sale.price * ((100 - sale.discount) / 100)),
field: (row) =>
toCurrency(row.quantity * row.sale.price * ((100 - row.sale.discount) / 100)),
sortable: true,
},
]);