From 94a948c9332a5b89d12c93444d8dec4ac0ae2e86 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 26 Apr 2024 12:29:55 +0200 Subject: [PATCH] fix: add socialName --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + .../Customer/ExtendedList/CustomerExtendedList.vue | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 2f4caedf8..caed66926 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -259,6 +259,7 @@ customer: tableVisibleColumns: id: Identifier name: Name + socialName: Social name fi: Tax number salesPersonFk: Salesperson credit: Credit diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 6e688a602..5aa3c86cd 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -257,6 +257,7 @@ customer: tableVisibleColumns: id: Identificador name: Nombre + socialName: Razón social fi: NIF / CIF salesPersonFk: Comercial credit: Crédito diff --git a/src/pages/Customer/ExtendedList/CustomerExtendedList.vue b/src/pages/Customer/ExtendedList/CustomerExtendedList.vue index 3cefc1c02..c7c5fd9c5 100644 --- a/src/pages/Customer/ExtendedList/CustomerExtendedList.vue +++ b/src/pages/Customer/ExtendedList/CustomerExtendedList.vue @@ -70,6 +70,11 @@ const tableColumnComponents = { props: () => {}, event: () => {}, }, + socialName: { + component: 'span', + props: () => {}, + event: () => {}, + }, fi: { component: 'span', props: () => {}, @@ -283,6 +288,12 @@ const columns = computed(() => [ label: t('customer.extendedList.tableVisibleColumns.name'), name: 'name', }, + { + align: 'left', + field: 'socialName', + label: t('customer.extendedList.tableVisibleColumns.socialName'), + name: 'socialName', + }, { align: 'left', field: 'fi',