From 363abb899f955465724d457567350a572456157c Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 3 Jul 2024 08:20:16 +0200 Subject: [PATCH] fix: refs #7543 fix changed descriptors --- src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue | 13 +------------ src/pages/Ticket/Card/TicketDescriptor.vue | 4 ---- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue index e8428dca1..68dc5be4b 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue @@ -9,7 +9,6 @@ import { useRole } from 'src/composables/useRole'; import { downloadFile } from 'src/composables/downloadFile'; import { useArrayData } from 'src/composables/useArrayData'; import { usePrintService } from 'composables/usePrintService'; -import useCardDescription from 'src/composables/useCardDescription'; import VnLv from 'src/components/ui/VnLv.vue'; import CardDescriptor from 'components/ui/CardDescriptor.vue'; import FetchData from 'src/components/FetchData.vue'; @@ -20,12 +19,7 @@ import { useCapitalize } from 'src/composables/useCapitalize'; import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue'; import InvoiceInToBook from '../InvoiceInToBook.vue'; -const $props = defineProps({ - id: { - type: Number, - default: null, - }, -}); +const $props = defineProps({ id: { type: Number, default: null } }); const { push, currentRoute } = useRouter(); @@ -258,9 +252,6 @@ const createInvoiceInCorrection = async () => { ); push({ path: `/invoice-in/${correctingId}/summary` }); }; - -const data = ref(useCardDescription()); -const setData = (entity) => (data.value = useCardDescription(entity.name, entity.id));