From ae713213394796e34ba0d4a5cf0007fa986eac5b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 1 Jul 2024 14:43:39 +0200 Subject: [PATCH] fix: map selected --- src/pages/Ticket/Card/TicketService.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Ticket/Card/TicketService.vue b/src/pages/Ticket/Card/TicketService.vue index 1ec072dd2..4cc8207ef 100644 --- a/src/pages/Ticket/Card/TicketService.vue +++ b/src/pages/Ticket/Card/TicketService.vue @@ -50,7 +50,7 @@ const createRefund = async () => { if (!selected.value.length) return; const params = { - servicesIds: selected.value.map((s) => s.id), + servicesIds: selected.value.map((s) => +s.ticketFk), withWarehouse: false, negative: true, };