diff --git a/src/components/TransferInvoiceForm.vue b/src/components/TransferInvoiceForm.vue new file mode 100644 index 000000000..e62c7638c --- /dev/null +++ b/src/components/TransferInvoiceForm.vue @@ -0,0 +1,190 @@ + + + + + +es: + Transfer invoice: Transferir factura + Transfer client: Transferir cliente + Client: Cliente + Rectificative type: Tipo rectificativa + Class: Clase + Type: Tipo + Transferred invoice: Factura transferida + + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue index 9c1bb3649..e01706e84 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue @@ -2,13 +2,15 @@ import { ref, computed } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; -import { toCurrency, toDate } from 'src/filters'; + 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'; +import useCardDescription from 'src/composables/useCardDescription'; +import { toCurrency, toDate } from 'src/filters'; + const $props = defineProps({ id: { type: Number, @@ -23,7 +25,6 @@ const { t } = useI18n(); const entityId = computed(() => { return $props.id || route.params.id; }); -const descriptor = ref(); const filter = { include: [ @@ -42,6 +43,8 @@ const filter = { ], }; +const descriptor = ref(); + function ticketFilter(invoice) { return JSON.stringify({ refFk: invoice.ref }); } @@ -61,7 +64,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity. data-key="invoiceOutData" >