From d279d284c2189dc3ed8cad7764f280d95950d7ab Mon Sep 17 00:00:00 2001 From: benjaminedc Date: Fri, 21 Mar 2025 11:09:56 +0100 Subject: [PATCH 1/9] fix: refs #8790 format code and update default SMS message in SendSmsDialog component --- src/components/common/SendSmsDialog.vue | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/components/common/SendSmsDialog.vue b/src/components/common/SendSmsDialog.vue index 269a4ec9a..74aa64c72 100644 --- a/src/components/common/SendSmsDialog.vue +++ b/src/components/common/SendSmsDialog.vue @@ -1,15 +1,15 @@ diff --git a/src/stores/useDescriptorStore.js b/src/stores/useDescriptorStore.js index a5b83a42e..be342b016 100644 --- a/src/stores/useDescriptorStore.js +++ b/src/stores/useDescriptorStore.js @@ -11,7 +11,7 @@ export const useDescriptorStore = defineStore('descriptorStore', () => { const files = import.meta.glob(`/src/**/*DescriptorProxy.vue`); const moduleParser = { account: 'user', - client: 'customer', + customer: 'client', }; for (const file in files) { const name = file.split('/').at(-1).slice(0, -19).toLowerCase(); From 31205d40d39de60b6cf6e6f3aad43163cd1b3cff Mon Sep 17 00:00:00 2001 From: pablone Date: Tue, 25 Mar 2025 14:01:29 +0100 Subject: [PATCH 5/9] fix: update default DMS code and improve filter handling in various components --- src/components/common/VnDmsInput.vue | 2 +- src/pages/Entry/Card/EntryBuys.vue | 2 +- src/pages/Entry/Card/EntryDescriptor.vue | 2 +- src/pages/Entry/EntryStockBought.vue | 1 + src/pages/Travel/Card/TravelSummary.vue | 10 ++++++---- src/pages/Travel/TravelFilter.vue | 4 +++- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/common/VnDmsInput.vue b/src/components/common/VnDmsInput.vue index 25d625d5d..5a3ef351b 100644 --- a/src/components/common/VnDmsInput.vue +++ b/src/components/common/VnDmsInput.vue @@ -15,7 +15,7 @@ const editDownloadDisabled = ref(false); const $props = defineProps({ defaultDmsCode: { type: String, - default: 'InvoiceIn', + default: 'invoiceIn', }, disable: { type: Boolean, diff --git a/src/pages/Entry/Card/EntryBuys.vue b/src/pages/Entry/Card/EntryBuys.vue index a93b0801b..dedc9fc85 100644 --- a/src/pages/Entry/Card/EntryBuys.vue +++ b/src/pages/Entry/Card/EntryBuys.vue @@ -648,7 +648,7 @@ onMounted(() => { :url="`Entries/${entityId}/getBuyList`" search-url="EntryBuys" save-url="Buys/crud" - :filter="filter" + :filter="editableMode ? filter : {}" :disable-option="{ card: true }" v-model:selected="selectedRows" @on-fetch="() => footerFetchDataRef.fetch()" diff --git a/src/pages/Entry/Card/EntryDescriptor.vue b/src/pages/Entry/Card/EntryDescriptor.vue index 784f6e8a3..9a8b79744 100644 --- a/src/pages/Entry/Card/EntryDescriptor.vue +++ b/src/pages/Entry/Card/EntryDescriptor.vue @@ -147,7 +147,7 @@ async function deleteEntry() {