diff --git a/.vscode/settings.json b/.vscode/settings.json index f175e4b82..817977448 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,8 +15,6 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "cSpell.words": ["axios"], - - "editor.tabSize": 2, "files.autoSave": "onFocusChange", "files.trimTrailingWhitespace": true, "editor.hover.enabled": true, 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" > + diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index fa7af4052..2d2fd5093 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -1,5 +1,5 @@