From b34a5f1d893c4f3de0c76b47d7e7c6237a5d7826 Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Mon, 18 Dec 2023 09:41:10 -0500 Subject: [PATCH] Se crea tabla y filtros de extended list --- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/Customer/CustomerExtendedList.vue | 141 ++++++++++++++++ .../Customer/CustomerExtendedListFilter.vue | 153 ++++++++++++++++++ src/pages/InvoiceIn/InvoiceInList.vue | 2 +- src/router/modules/customer.js | 12 +- 6 files changed, 308 insertions(+), 2 deletions(-) create mode 100644 src/pages/Customer/CustomerExtendedList.vue create mode 100644 src/pages/Customer/CustomerExtendedListFilter.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 994e49ee0..4d7ddaff6 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -111,6 +111,7 @@ export default { customers: 'Customers', list: 'List', webPayments: 'Web Payments', + extendedList: 'Extended list', createCustomer: 'Create customer', summary: 'Summary', basicData: 'Basic Data', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index eacca664f..fa40414a3 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -111,6 +111,7 @@ export default { customers: 'Clientes', list: 'Listado', webPayments: 'Pagos Web', + extendedList: 'Listado extendido', createCustomer: 'Crear cliente', basicData: 'Datos básicos', summary: 'Resumen', diff --git a/src/pages/Customer/CustomerExtendedList.vue b/src/pages/Customer/CustomerExtendedList.vue new file mode 100644 index 000000000..da3c6ced4 --- /dev/null +++ b/src/pages/Customer/CustomerExtendedList.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/src/pages/Customer/CustomerExtendedListFilter.vue b/src/pages/Customer/CustomerExtendedListFilter.vue new file mode 100644 index 000000000..99ff1d6b6 --- /dev/null +++ b/src/pages/Customer/CustomerExtendedListFilter.vue @@ -0,0 +1,153 @@ + + + + + + + +en: + params: + identifier: Identifier + socialName: Social name + salesPerson: Salesperson + phone: Phone + city: City + email: Email +es: + params: + identifier: Identificador + socialName: Razón social + salesPerson: Comercial + phone: Teléfono + city: Población + email: Email + Identifier: Identificador + Social name: Razón social + Salesperson: Comercial + Phone: Teléfono + City: Población + Email: Email + diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue index 692251bff..fec70ade6 100644 --- a/src/pages/InvoiceIn/InvoiceInList.vue +++ b/src/pages/InvoiceIn/InvoiceInList.vue @@ -154,7 +154,7 @@ function viewSummary(id) { - + import('src/pages/Customer/CustomerPayments.vue'), }, + { + path: 'extendedList', + name: 'CustomerExtendedList', + meta: { + title: 'extendedList', + icon: 'vn:client', + }, + component: () => + import('src/pages/Customer/CustomerExtendedList.vue'), + }, ], }, {