0
0
Fork 0

Merge pull request 'refs #7962 fix claimSummary' (!698) from 7962-hotfixClaimLines into master

Reviewed-on: verdnatura/salix-front#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', 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,
}, },
]); ]);