From 51d497a1de0c6ab867bb9dcd97e9b0292753c044 Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 12 Jun 2024 12:17:52 +0200 Subject: [PATCH] feat: refs #6238 add percentage & summary btn --- src/components/ui/CardDescriptor.vue | 2 +- .../Supplier/Card/SupplierDescriptor.vue | 5 ++ .../Supplier/Card/SupplierDescriptorProxy.vue | 3 +- src/pages/Travel/ExtraCommunity.vue | 65 ++++++++++++++----- 4 files changed, 58 insertions(+), 17 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index b83cca3f4..b2084479d 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -115,13 +115,13 @@ const emit = defineEmits(['onFetch']); {{ t('components.cardDescriptor.moreOptions') }} diff --git a/src/pages/Supplier/Card/SupplierDescriptor.vue b/src/pages/Supplier/Card/SupplierDescriptor.vue index b8479d8f6..4ef76c2f8 100644 --- a/src/pages/Supplier/Card/SupplierDescriptor.vue +++ b/src/pages/Supplier/Card/SupplierDescriptor.vue @@ -17,6 +17,10 @@ const $props = defineProps({ required: false, default: null, }, + summary: { + type: Object, + default: null, + }, }); const route = useRoute(); @@ -106,6 +110,7 @@ const getEntryQueryParams = (supplier) => { :filter="filter" @on-fetch="setData" data-key="supplier" + :summary="$props.summary" >