From f4adedb4f1f9b42670e528c85d9d926dcc158e22 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 24 Jan 2025 00:23:31 +0100 Subject: [PATCH 1/4] fix: replace GoToUser by NewOrder --- .../Customer/Card/CustomerDescriptor.vue | 23 +++++++++---------- .../Customer/Card/CustomerDescriptorMenu.vue | 8 +------ 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue index 23b12e11f..b1d50851d 100644 --- a/src/pages/Customer/Card/CustomerDescriptor.vue +++ b/src/pages/Customer/Card/CustomerDescriptor.vue @@ -188,14 +188,18 @@ const debtWarning = computed(() => { - {{ t('Go to user') }} + {{ t('globals.pageTitles.createOrder') }} diff --git a/src/pages/Customer/Card/CustomerDescriptorMenu.vue b/src/pages/Customer/Card/CustomerDescriptorMenu.vue index aeaeaef57..5df5721e1 100644 --- a/src/pages/Customer/Card/CustomerDescriptorMenu.vue +++ b/src/pages/Customer/Card/CustomerDescriptorMenu.vue @@ -6,7 +6,7 @@ import axios from 'axios'; import { useQuasar } from 'quasar'; import useNotify from 'src/composables/useNotify'; -import VnSmsDialog from 'src/components/common/VnSmsDialog.vue'; +import VnSmsDialog from 'src/componts/common/VnSmsDialog.vue'; import useOpenURL from 'src/composables/useOpenURL'; const $props = defineProps({ @@ -51,7 +51,6 @@ const openCreateForm = (type) => { }; const clientFk = { ticket: 'clientId', - order: 'clientFk', }; const key = clientFk[type]; if (!key) return; @@ -70,11 +69,6 @@ const openCreateForm = (type) => { {{ t('globals.pageTitles.createTicket') }} - - - {{ t('globals.pageTitles.createOrder') }} - - {{ t('Send SMS') }} From 00c90b29e936b7e0cb43e1f79a27b454d9a915c9 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 24 Jan 2025 00:24:19 +0100 Subject: [PATCH 2/4] fix: remove "Go to module index" i18n value --- src/pages/Entry/Card/EntryDescriptor.vue | 1 - src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue | 4 ---- src/pages/Supplier/Card/SupplierDescriptor.vue | 1 - src/pages/Ticket/Card/TicketDescriptor.vue | 1 - src/pages/Travel/Card/TravelDescriptor.vue | 1 - src/pages/Zone/Card/ZoneDescriptor.vue | 4 ---- 6 files changed, 12 deletions(-) diff --git a/src/pages/Entry/Card/EntryDescriptor.vue b/src/pages/Entry/Card/EntryDescriptor.vue index 9814615a6..eee76868b 100644 --- a/src/pages/Entry/Card/EntryDescriptor.vue +++ b/src/pages/Entry/Card/EntryDescriptor.vue @@ -155,7 +155,6 @@ es: All travels with current agency: Todos los envíos con la agencia actual All entries with current supplier: Todas las entradas con el proveedor actual Show entry report: Ver informe del pedido - Go to module index: Ir al índice del modulo Inventory entry: Es inventario Virtual entry: Es una redada diff --git a/src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue b/src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue index 936e95d2f..6d093d91d 100644 --- a/src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue +++ b/src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue @@ -63,7 +63,3 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity - -es: - Go to module index: Ir al índice del módulo - diff --git a/src/pages/Supplier/Card/SupplierDescriptor.vue b/src/pages/Supplier/Card/SupplierDescriptor.vue index a1a2a0991..37c9c1cff 100644 --- a/src/pages/Supplier/Card/SupplierDescriptor.vue +++ b/src/pages/Supplier/Card/SupplierDescriptor.vue @@ -188,7 +188,6 @@ const getEntryQueryParams = (supplier) => { es: All entries with current supplier: Todas las entradas con proveedor actual Go to client: Ir a cliente - Go to module index: Ir al índice del módulo Inactive supplier: Proveedor inactivo Unverified supplier: Proveedor no verificado diff --git a/src/pages/Ticket/Card/TicketDescriptor.vue b/src/pages/Ticket/Card/TicketDescriptor.vue index 4e77b633f..9f7684b93 100644 --- a/src/pages/Ticket/Card/TicketDescriptor.vue +++ b/src/pages/Ticket/Card/TicketDescriptor.vue @@ -239,7 +239,6 @@ function ticketFilter(ticket) { es: This ticket is deleted: Este ticket está eliminado - Go to module index: Ir al índice del modulo Client inactive: Cliente inactivo Client not checked: Cliente no verificado Client has debt: Cliente con deuda diff --git a/src/pages/Travel/Card/TravelDescriptor.vue b/src/pages/Travel/Card/TravelDescriptor.vue index 00852e5ee..72acf91b8 100644 --- a/src/pages/Travel/Card/TravelDescriptor.vue +++ b/src/pages/Travel/Card/TravelDescriptor.vue @@ -85,7 +85,6 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity. es: - Go to module index: Ir al índice del módulo The travel will be deleted: El envío será eliminado Do you want to delete this travel?: ¿Quieres eliminar este envío? All travels with current agency: Todos los envíos con la agencia actual diff --git a/src/pages/Zone/Card/ZoneDescriptor.vue b/src/pages/Zone/Card/ZoneDescriptor.vue index f991818fb..8355c219e 100644 --- a/src/pages/Zone/Card/ZoneDescriptor.vue +++ b/src/pages/Zone/Card/ZoneDescriptor.vue @@ -66,7 +66,3 @@ const setData = (entity) => { - -es: - Go to module index: Ir al índice del módulo - From d5ea4fb46df5b2869b5305e9d4f86f97503b475b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 24 Jan 2025 00:26:31 +0100 Subject: [PATCH 3/4] perf: eslint --- src/pages/Customer/Card/CustomerDescriptor.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue index b1d50851d..fd4ed0e42 100644 --- a/src/pages/Customer/Card/CustomerDescriptor.vue +++ b/src/pages/Customer/Card/CustomerDescriptor.vue @@ -223,10 +223,10 @@ en: unpaidDated: 'Date {dated}' unpaidAmount: 'Amount {amount}' es: - Customer ticket list: Listado de tickets del cliente + Customer ticket list: Listado de tickets del cliente Customer invoice out list: Listado de facturas del cliente - Go to supplier: Ir al proveedor - Unpaid: Impagado + Go to supplier: Ir al proveedor + Unpaid: Impagado unpaidDated: 'Fecha {dated}' unpaidAmount: 'Importe {amount}' From f0dc7b4a4121f1d4c09ce2399d58a275009aff6a Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 24 Jan 2025 08:19:53 +0100 Subject: [PATCH 4/4] fix: import component --- src/pages/Customer/Card/CustomerDescriptorMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Customer/Card/CustomerDescriptorMenu.vue b/src/pages/Customer/Card/CustomerDescriptorMenu.vue index 5df5721e1..fb78eab69 100644 --- a/src/pages/Customer/Card/CustomerDescriptorMenu.vue +++ b/src/pages/Customer/Card/CustomerDescriptorMenu.vue @@ -6,7 +6,7 @@ import axios from 'axios'; import { useQuasar } from 'quasar'; import useNotify from 'src/composables/useNotify'; -import VnSmsDialog from 'src/componts/common/VnSmsDialog.vue'; +import VnSmsDialog from 'src/components/common/VnSmsDialog.vue'; import useOpenURL from 'src/composables/useOpenURL'; const $props = defineProps({