From 1a4cf5124645ec2d937cd4f31f200d6aa143e45a Mon Sep 17 00:00:00 2001 From: jorgep Date: Thu, 8 Aug 2024 16:44:00 +0200 Subject: [PATCH] fix: refs #6900 vat & dueday --- src/pages/InvoiceIn/Card/InvoiceInDueDay.vue | 92 ++------------------ src/pages/InvoiceIn/Card/InvoiceInVat.vue | 16 ++-- 2 files changed, 19 insertions(+), 89 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue index d2b43c57a..daaebae61 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue @@ -11,6 +11,8 @@ import VnSelect from 'src/components/common/VnSelect.vue'; import VnCurrency from 'src/components/common/VnCurrency.vue'; import { toCurrency } from 'src/filters'; import useNotify from 'src/composables/useNotify.js'; +import VnInput from 'src/components/common/VnInput.vue'; +import VnInputDate from 'src/components/common/VnInputDate.vue'; const route = useRoute(); const { notify } = useNotify(); @@ -22,9 +24,6 @@ const rowsSelected = ref([]); const banks = ref([]); const invoiceInFormRef = ref(); const invoiceId = +route.params.id; - -const placeholder = 'yyyy/mm/dd'; - const filter = { where: { invoiceInFk: invoiceId } }; const columns = computed(() => [ @@ -104,42 +103,7 @@ const getTotalAmount = (rows) => rows.reduce((acc, { amount }) => acc + +amount, >