From ed99aea4a3cbecc4d23f576851c9fb97593be769 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 8 Mar 2024 15:05:11 -0300 Subject: [PATCH] Finish create manual invoice popup form --- src/components/CreateManualInvoiceForm.vue | 27 ++++++++++++++++++---- src/components/FormModel.vue | 9 ++++---- src/components/FormModelPopup.vue | 13 ++++++++--- src/css/app.scss | 4 ++++ 4 files changed, 42 insertions(+), 11 deletions(-) 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" > + + 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, +});