From adc290da6d223fd51bba3e3ab99834b261bba517 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 4 Mar 2024 12:26:14 +0100 Subject: [PATCH 1/2] refs #6935 restyle card --- src/components/ui/CardDescriptor.vue | 2 -- src/i18n/en/index.js | 2 ++ src/i18n/es/index.js | 2 ++ src/pages/Claim/Card/ClaimDescriptor.vue | 32 +++++++++---------- .../Customer/Card/CustomerDescriptor.vue | 16 +++++++--- src/pages/Ticket/Card/TicketDescriptor.vue | 19 +++++------ 6 files changed, 41 insertions(+), 32 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 345c8d088..1cb570ef0 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -223,8 +223,6 @@ const emit = defineEmits(['onFetch']); margin-bottom: 15px; } .list-box { - background-color: var(--vn-gray); - .q-item__label { color: var(--vn-label); } diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 0cc91c88d..110c2b2fc 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -172,6 +172,7 @@ export default { hasDebt: 'Customer has debt', notChecked: 'Customer not checked', noWebAccess: 'Web access is disabled', + businessTypeFk: 'Business type', }, summary: { basicData: 'Basic data', @@ -437,6 +438,7 @@ export default { shipped: 'Shipped', warehouse: 'Warehouse', customerCard: 'Customer card', + alias: 'Alias', }, boxing: { expedition: 'Expedition', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 7369721e6..0324b3672 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -171,6 +171,7 @@ export default { hasDebt: 'El cliente tiene riesgo', notChecked: 'El cliente no está comprobado', noWebAccess: 'El acceso web está desactivado', + businessTypeFk: 'Tipo de negocio', }, summary: { basicData: 'Datos básicos', @@ -436,6 +437,7 @@ export default { shipped: 'Enviado', warehouse: 'Almacén', customerCard: 'Ficha del cliente', + alias: 'Alias', }, boxing: { expedition: 'Expedición', diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index 3827a70d4..c4642bdd4 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -105,7 +105,6 @@ onMounted(async () => { - - - + - + + + (data.value = useCardDescription(entity.name, entity data-key="customerData" >