From 1ab31a1e514e8f0eb82aeef73b12cc1c4f303c36 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 29 Dec 2023 11:08:11 -0300 Subject: [PATCH] Extended List big modifications and column add column filter component --- src/components/common/TableVisibleColumns.vue | 140 +++++ src/i18n/en/index.js | 34 ++ src/i18n/es/index.js | 34 ++ src/pages/Customer/CustomerExtendedList.vue | 439 ++++++++++++++-- .../Customer/CustomerExtendedListActions.vue | 39 +- .../Customer/CustomerExtendedListFilter.vue | 490 ++++++++++++++++-- 6 files changed, 1089 insertions(+), 87 deletions(-) create mode 100644 src/components/common/TableVisibleColumns.vue diff --git a/src/components/common/TableVisibleColumns.vue b/src/components/common/TableVisibleColumns.vue new file mode 100644 index 000000000..94e3bfbc7 --- /dev/null +++ b/src/components/common/TableVisibleColumns.vue @@ -0,0 +1,140 @@ + + + + diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 12505b30e..608a9303e 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -206,6 +206,40 @@ export default { salesPerson: 'Sales person', contactChannel: 'Contact channel', }, + extendedList: { + tableVisibleColumns: { + id: 'Identifier', + name: 'Name', + fi: 'Tax number', + salesPersonFk: 'Salesperson', + credit: 'Credit', + creditInsurance: 'Credit insurance', + phone: 'Phone', + mobile: 'Mobile', + street: 'Street', + countryFk: 'Country', + provinceFk: 'Province', + city: 'City', + postcode: 'Postcode', + email: 'Email', + created: 'Created', + businessTypeFk: 'Business type', + payMethodFk: 'Billing data', + sageTaxTypeFk: 'Sage tax type', + sageTransactionTypeFk: 'Sage tr. type', + isActive: 'Active', + isVies: 'Vies', + isTaxDataChecked: 'Verified data', + isEqualizated: 'Is equalizated', + isFreezed: 'Freezed', + hasToInvoice: 'Invoice', + hasToInvoiceByAddress: 'Invoice by address', + isToBeMailed: 'Mailing', + hasLcr: 'Received LCR', + hasCoreVnl: 'VNL core received', + hasSepaVnl: 'VNL B2B received', + }, + }, }, ticket: { pageTitles: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index fe16df8fc..3a5d4c26b 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -205,6 +205,40 @@ export default { salesPerson: 'Comercial', contactChannel: 'Canal de contacto', }, + extendedList: { + tableVisibleColumns: { + id: 'Identificador', + name: 'Nombre', + fi: 'NIF / CIF', + salesPersonFk: 'Comercial', + credit: 'Crédito', + creditInsurance: 'Crédito asegurado', + phone: 'Teléfono', + mobile: 'Móvil', + street: 'Dirección fiscal', + countryFk: 'País', + provinceFk: 'Provincia', + city: 'Población', + postcode: 'Código postal', + email: 'Email', + created: 'Fecha creación', + businessTypeFk: 'Tipo de negocio', + payMethodFk: 'Forma de pago', + sageTaxTypeFk: 'Tipo de impuesto Sage', + sageTransactionTypeFk: 'Tipo tr. sage', + isActive: 'Activo', + isVies: 'Vies', + isTaxDataChecked: 'Datos comprobados', + isEqualizated: 'Recargo de equivalencias', + isFreezed: 'Congelado', + hasToInvoice: 'Factura', + hasToInvoiceByAddress: 'Factura por consigna', + isToBeMailed: 'Env. emails', + hasLcr: 'Recibido LCR', + hasCoreVnl: 'Recibido core VNL', + hasSepaVnl: 'Recibido B2B VNL', + }, + }, }, ticket: { pageTitles: { diff --git a/src/pages/Customer/CustomerExtendedList.vue b/src/pages/Customer/CustomerExtendedList.vue index be3463867..a60b79caf 100644 --- a/src/pages/Customer/CustomerExtendedList.vue +++ b/src/pages/Customer/CustomerExtendedList.vue @@ -1,16 +1,18 @@