From b536cfe0afae87945fcca2c31928e4d063cfbd51 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 3 Dec 2024 09:35:19 +0100 Subject: [PATCH 1/4] fix: due date --- src/pages/InvoiceOut/locale/es.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/InvoiceOut/locale/es.yml b/src/pages/InvoiceOut/locale/es.yml index 192f5b26f..feb9050fa 100644 --- a/src/pages/InvoiceOut/locale/es.yml +++ b/src/pages/InvoiceOut/locale/es.yml @@ -10,7 +10,7 @@ invoiceOutList: ref: Referencia issued: Fecha emisión created: F. creación - dueDate: F. máxima + dueDate: Fecha vencimiento invoiceOutSerial: Serial ticket: Ticket taxArea: Area From b6980988231495b71b16bae57507e11ad253d0c7 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 3 Dec 2024 11:03:40 +0100 Subject: [PATCH 2/4] fix: hotfix correct path "log" --- src/router/modules/travel.js | 4 ++-- src/router/modules/zone.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/modules/travel.js b/src/router/modules/travel.js index 627692be8..dff693d2f 100644 --- a/src/router/modules/travel.js +++ b/src/router/modules/travel.js @@ -75,9 +75,9 @@ export default { }, { name: 'TravelHistory', - path: 'history', + path: 'log', meta: { - title: 'history', + title: 'log', icon: 'history', }, component: () => import('src/pages/Travel/Card/TravelLog.vue'), diff --git a/src/router/modules/zone.js b/src/router/modules/zone.js index 1f27cc76f..c5ebe762e 100644 --- a/src/router/modules/zone.js +++ b/src/router/modules/zone.js @@ -106,7 +106,7 @@ export default { }, { name: 'ZoneHistory', - path: 'history', + path: 'log', meta: { title: 'log', icon: 'history', From 4b1a4adfe364fc10d016331b566bbf36a97252a4 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 3 Dec 2024 14:01:17 +0100 Subject: [PATCH 3/4] feat: add country filter & fix userParams --- src/components/ui/VnFilterPanel.vue | 5 +++-- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + .../Monitor/Ticket/MonitorTicketFilter.vue | 18 +++++++++++++++++- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index b188bde48..d15f0b3fb 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -79,7 +79,7 @@ const userParams = ref({}); defineExpose({ search, sanitizer, params: userParams }); onMounted(() => { - userParams.value = $props.modelValue ?? {}; + if (!userParams.value) userParams.value = $props.modelValue ?? {}; emit('init', { params: userParams.value }); }); @@ -105,7 +105,8 @@ watch( watch( () => arrayData.store.userParams, - (val, oldValue) => (val || oldValue) && setUserParams(val) + (val, oldValue) => (val || oldValue) && setUserParams(val), + { immediate: true } ); watch( diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 31a6931a4..9c645bdbd 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -330,6 +330,7 @@ globals: fi: FI myTeam: My team departmentFk: Department + countryFk: Country changePass: Change password deleteConfirmTitle: Delete selected elements changeState: Change state diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index ccc21e225..17f82e11e 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -334,6 +334,7 @@ globals: SSN: NSS fi: NIF myTeam: Mi equipo + countryFk: País changePass: Cambiar contraseña deleteConfirmTitle: Eliminar los elementos seleccionados changeState: Cambiar estado diff --git a/src/pages/Monitor/Ticket/MonitorTicketFilter.vue b/src/pages/Monitor/Ticket/MonitorTicketFilter.vue index 3247da014..2205666ec 100644 --- a/src/pages/Monitor/Ticket/MonitorTicketFilter.vue +++ b/src/pages/Monitor/Ticket/MonitorTicketFilter.vue @@ -59,7 +59,11 @@ const getLocale = (label) => {