From 1c9e13fe15ebb1ec325e4aed137345a64b799874 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 11 Sep 2024 10:23:27 +0200 Subject: [PATCH] refs #7962 fix claimSummary --- src/pages/Claim/Card/ClaimSummary.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index 9538e753f..b66692e8a 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -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, }, ]);