refs #7962 fix claimSummary
gitea/salix-front/pipeline/pr-master This commit looks good Details

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', name: 'total',
label: 'claim.total', label: 'claim.total',
field: ({ sale }) => field: (row) =>
toCurrency(sale.quantity * sale.price * ((100 - sale.discount) / 100)), toCurrency(row.quantity * row.sale.price * ((100 - row.sale.discount) / 100)),
sortable: true, sortable: true,
}, },
]); ]);