From 10548a00d2fbe544801903b35a5c757e7c3b6f57 Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 23 Apr 2025 18:32:36 +0200 Subject: [PATCH] fix: refs #8388 update layout --- src/pages/InvoiceIn/Card/InvoiceInDueDay.vue | 165 +++++++++---------- 1 file changed, 82 insertions(+), 83 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue index 2346ee301..f4278e19a 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue @@ -115,96 +115,95 @@ async function setTaxableBase() { onBeforeMount(async () => await setTaxableBase()); + + + - - {{ t('Create due day') }} - - + invoiceInDueDayTableRef.create = { + urlCreate: 'InvoiceInDueDays', + onDataSaved: () => invoiceInDueDayTableRef.reload(), + title: t('Create due day'), + formInitialData: { + invoiceInFk: invoiceId, + dueDated: Date.vnNew(), + amount: (totalTaxableBase - totalAmount).toFixed(2), + }, + }; + invoiceInDueDayTableRef.showForm = true; + } + " + color="primary" + fab + icon="add" + v-shortcut="'+'" + data-cy="invoiceInDueDayAdd" + /> + + {{ t('Create due day') }} + + + es: