Merge pull request 'refs #7962 fix claimSummary' (!698) from 7962-hotfixClaimLines into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #698
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-09-11 09:34:32 +00:00
commit 98056b2bcb
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,
},
]);