diff --git a/src/components/CreateManualInvoiceForm.vue b/src/components/CreateManualInvoiceForm.vue index de5decaad..f03afbf35 100644 --- a/src/components/CreateManualInvoiceForm.vue +++ b/src/components/CreateManualInvoiceForm.vue @@ -1,5 +1,5 @@ @@ -57,6 +59,7 @@ const onDataSaved = (formData, requestResponse) => { auto-load /> { @on-data-saved="onDataSaved" > + + + {{ t('Invoicing in progress...') }} + { + + es: Create manual invoice: Crear factura manual @@ -152,4 +170,5 @@ es: Area: Area Reference: Referencia Or: O + Invoicing in progress...: FacturaciĆ³n en progreso... diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 9f5ae319c..ca7bd30e5 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -69,10 +69,6 @@ const $props = defineProps({ const emit = defineEmits(['onFetch', 'onDataSaved']); -defineExpose({ - save, -}); - const componentIsRendered = ref(false); onMounted(async () => { @@ -205,6 +201,11 @@ watch(formUrl, async () => { reset(); fetch(); }); + +defineExpose({ + save, + isLoading, +}); diff --git a/src/components/FormModelPopup.vue b/src/components/FormModelPopup.vue index cc22c77db..2d8886610 100644 --- a/src/components/FormModelPopup.vue +++ b/src/components/FormModelPopup.vue @@ -1,5 +1,5 @@