From de7906bbf357080a03e6d0154f4cf73fc3d0ef6c Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 27 Dec 2024 14:02:27 +0100 Subject: [PATCH 1/7] refactor: refs #8316 used VnSection and VnCardBeta --- src/pages/InvoiceIn/Card/InvoiceInCard.vue | 54 +---- src/pages/InvoiceIn/InvoiceInList.vue | 139 +++++++------ src/pages/InvoiceIn/locale/en.yml | 2 + src/pages/InvoiceIn/locale/es.yml | 2 + src/router/modules/invoiceIn.js | 217 +++++++++++---------- 5 files changed, 194 insertions(+), 220 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInCard.vue b/src/pages/InvoiceIn/Card/InvoiceInCard.vue index b16183e52..05bb1d7d3 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInCard.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInCard.vue @@ -1,58 +1,12 @@ + diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue index 43b9f2c11..282342504 100644 --- a/src/pages/InvoiceIn/InvoiceInList.vue +++ b/src/pages/InvoiceIn/InvoiceInList.vue @@ -8,17 +8,17 @@ import InvoiceInFilter from './InvoiceInFilter.vue'; import InvoiceInSummary from './Card/InvoiceInSummary.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue'; -import RightMenu from 'src/components/common/RightMenu.vue'; -import InvoiceInSearchbar from 'src/pages/InvoiceIn/InvoiceInSearchbar.vue'; import VnTable from 'src/components/VnTable/VnTable.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; import VnInputDate from 'src/components/common/VnInputDate.vue'; import FetchData from 'src/components/FetchData.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const user = useState().getUser(); const { viewSummary } = useSummaryDialog(); const { t } = useI18n(); +const dataKey='InvoiceInList'; const tableRef = ref(); const companies = ref([]); @@ -130,71 +130,84 @@ const cols = computed(() => [ }, ]); + diff --git a/src/pages/InvoiceIn/InvoiceInSearchbar.vue b/src/pages/InvoiceIn/InvoiceInSearchbar.vue deleted file mode 100644 index f2731b005..000000000 --- a/src/pages/InvoiceIn/InvoiceInSearchbar.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - -es: - Search invoice: Buscar factura recibida - Search invoices in by id or supplier fiscal name: Buscar facturas recibidas por id o por nombre fiscal del proveedor - -- 2.40.1 From bd905ded3a770bdada2dda1952fbec91d5c76390 Mon Sep 17 00:00:00 2001 From: jtubau Date: Tue, 14 Jan 2025 10:01:18 +0100 Subject: [PATCH 5/7] refactor: refs #8316 update prefix casing for InvoiceIn component --- src/pages/InvoiceIn/InvoiceInList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue index c266cf17c..56b6848b0 100644 --- a/src/pages/InvoiceIn/InvoiceInList.vue +++ b/src/pages/InvoiceIn/InvoiceInList.vue @@ -136,7 +136,7 @@ const cols = computed(() => [ { diff --git a/src/pages/InvoiceIn/locale/en.yml b/src/pages/InvoiceIn/locale/en.yml index f9cf3e05d..6b21b316b 100644 --- a/src/pages/InvoiceIn/locale/en.yml +++ b/src/pages/InvoiceIn/locale/en.yml @@ -1,4 +1,4 @@ -invoicein: +invoiceIn: search: Search invoice searchInfo: Search incoming invoices by ID or supplier fiscal name serial: Serial diff --git a/src/pages/InvoiceIn/locale/es.yml b/src/pages/InvoiceIn/locale/es.yml index 2b4b31ec8..3f27c895c 100644 --- a/src/pages/InvoiceIn/locale/es.yml +++ b/src/pages/InvoiceIn/locale/es.yml @@ -1,4 +1,4 @@ -invoicein: +invoiceIn: search: Buscar factura recibida searchInfo: Buscar facturas recibidas por ID o nombre fiscal del proveedor serial: Serie @@ -65,6 +65,7 @@ invoicein: params: search: Id o nombre proveedor correctedFk: Rectificada + isBooked: Contabilizada account: Cuenta contable correctingFk: Rectificativa diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 09873642d..3b9d3d843 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -355,7 +355,7 @@ watchEffect(selectedRows); Date: Mon, 27 Jan 2025 09:36:19 +0100 Subject: [PATCH 7/7] fix: refs #8316 filter --- src/pages/InvoiceIn/InvoiceInList.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue index 024ac97bb..251dfcd92 100644 --- a/src/pages/InvoiceIn/InvoiceInList.vue +++ b/src/pages/InvoiceIn/InvoiceInList.vue @@ -134,7 +134,7 @@ const cols = computed(() => [