From f002fd2a9867c4c5f77913ee49cda32316ca660f Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Tue, 28 Nov 2023 08:51:55 -0500 Subject: [PATCH] Se agrega condicional para mostrar checkbox --- src/components/ui/CardList2.vue | 2 ++ src/pages/InvoiceOut/InvoiceOutList.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/ui/CardList2.vue b/src/components/ui/CardList2.vue index aebcb10da..8cea96688 100644 --- a/src/components/ui/CardList2.vue +++ b/src/components/ui/CardList2.vue @@ -7,6 +7,7 @@ const $props = defineProps({ id: { type: Number, default: null }, isSelected: { type: Boolean, default: false }, title: { type: String, default: null }, + showCheckbox: { type: Boolean, default: false }, }); const checkSelect = ref(false); @@ -36,6 +37,7 @@ const selectedItem = (item) => { diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 0302f2622..fa7af4052 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -176,6 +176,7 @@ const downloadCsv = (rows) => { :element="row" :id="row.id" :isSelected="manageCheckboxes" + :showCheckbox="true" :key="row.id" :title="row.ref" @click="navigate(row.id)"