forked from verdnatura/salix-front
Reviewed-on: verdnatura/salix-front#698 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
98056b2bcb
|
@ -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,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue