diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 0b15f2998..9116425df 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -57,20 +57,6 @@ async function getData() { emit('onFetch', data); } -// watch($props, async () => { -// entity.value = null; -// await fetch(); -// }); - -const options = [ - 'Transferir factura a ...', - 'Ver factura ...', - 'Enviar factura ...', - 'Eliminar factura', - 'Asentar factura', - 'Regenerar PDF factura', - 'Abono ...', -]; const emit = defineEmits(['onFetch']); @@ -110,15 +96,21 @@ const emit = defineEmits(['onFetch']); - + {{ t('components.cardDescriptor.moreOptions') }} - - - {{ option }} - + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue index 4271f7f38..d3e38a1fe 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue @@ -7,6 +7,7 @@ import CardDescriptor from 'components/ui/CardDescriptor.vue'; import CustomerDescriptorProxy from 'pages/Customer/Card/CustomerDescriptorProxy.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import useCardDescription from 'src/composables/useCardDescription'; +import InvoiceOutDescriptorMenu from './InvoiceOutDescriptorMenu.vue'; const $props = defineProps({ id: { @@ -59,6 +60,9 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity. @on-fetch="setData" data-key="invoiceOutData" > +