From 01bedb94d06b74e37ed025adc7d3d39cf8598585 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 9 May 2024 07:54:16 +0200 Subject: [PATCH 01/25] feat #7311: enable leftmenu option --- src/router/modules/account.js | 174 +++++++++++++++++++++++++++++++ src/router/modules/index.js | 2 + src/router/routes.js | 2 + src/stores/useNavigationStore.js | 1 + 4 files changed, 179 insertions(+) create mode 100644 src/router/modules/account.js diff --git a/src/router/modules/account.js b/src/router/modules/account.js new file mode 100644 index 000000000..674184383 --- /dev/null +++ b/src/router/modules/account.js @@ -0,0 +1,174 @@ +import { RouterView } from 'vue-router'; + +export default { + path: '/account', + name: 'Account', + meta: { + title: 'accounts', + icon: 'vn:account', + moduleName: 'Account', + }, + component: RouterView, + redirect: { name: 'AccountMain' }, + menus: { + main: ['AccountList', 'AccountDepartment'], + card: [ + 'AccountBasicData', + 'AccountNotes', + 'AccountPda', + 'AccountNotificationsManager', + 'AccountPBX', + 'AccountLog', + 'AccountCalendar', + 'AccountDms', + 'AccountTimeControl', + ], + departmentCard: ['BasicData'], + }, + children: [ + { + path: '', + name: 'AccountMain', + component: () => import('src/pages/Account/AccountMain.vue'), + redirect: { name: 'AccountList' }, + children: [ + { + path: 'list', + name: 'AccountList', + meta: { + title: 'list', + icon: 'view_list', + }, + component: () => import('src/pages/Account/AccountList.vue'), + }, + { + path: 'department', + name: 'AccountDepartment', + meta: { + title: 'department', + icon: 'vn:greuge', + }, + component: () => import('src/pages/Account/AccountDepartment.vue'), + }, + { + path: 'create', + name: 'AccountCreate', + meta: { + title: 'accountCreate', + icon: 'add', + }, + component: () => import('src/pages/Account/AccountCreate.vue'), + }, + ], + }, + { + name: 'AccountCard', + path: ':id', + component: () => import('src/pages/Account/Card/AccountCard.vue'), + redirect: { name: 'AccountSummary' }, + children: [ + { + name: 'AccountSummary', + path: 'summary', + meta: { + title: 'summary', + icon: 'launch', + }, + component: () => import('src/pages/Account/Card/AccountSummary.vue'), + }, + { + path: 'basic-data', + name: 'AccountBasicData', + meta: { + title: 'basicData', + icon: 'vn:settings', + }, + component: () => + import('src/pages/Account/Card/AccountBasicData.vue'), + }, + { + path: 'notes', + name: 'NotesCard', + redirect: { name: 'AccountNotes' }, + children: [ + { + path: '', + name: 'AccountNotes', + meta: { + title: 'notes', + icon: 'vn:notes', + }, + component: () => + import('src/pages/Account/Card/AccountNotes.vue'), + }, + ], + }, + { + name: 'AccountPda', + path: 'pda', + meta: { + title: 'pda', + icon: 'phone_android', + }, + component: () => import('src/pages/Account/Card/AccountPda.vue'), + }, + { + name: 'AccountNotificationsManager', + path: 'notifications', + meta: { + title: 'notifications', + icon: 'notifications', + }, + component: () => + import('src/pages/Account/Card/AccountNotificationsManager.vue'), + }, + { + path: 'pbx', + name: 'AccountPBX', + meta: { + title: 'pbx', + icon: 'vn:pbx', + }, + component: () => import('src/pages/Account/Card/AccountPBX.vue'), + }, + { + name: 'AccountDms', + path: 'dms', + meta: { + title: 'dms', + icon: 'cloud_upload', + }, + component: () => import('src/pages/Account/Card/AccountDms.vue'), + }, + { + name: 'AccountLog', + path: 'log', + meta: { + title: 'log', + icon: 'vn:History', + }, + component: () => import('src/pages/Account/Card/AccountLog.vue'), + }, + { + name: 'AccountCalendar', + path: 'calendar', + meta: { + title: 'calendar', + icon: 'calendar_today', + }, + component: () => import('src/pages/Account/Card/AccountCalendar.vue'), + }, + { + name: 'AccountTimeControl', + path: 'time-control', + meta: { + title: 'timeControl', + icon: 'access_time', + }, + component: () => + import('src/pages/Account/Card/AccountTimeControl.vue'), + }, + ], + }, + ], +}; diff --git a/src/router/modules/index.js b/src/router/modules/index.js index 7fff2f2e5..5c2d44f58 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -18,6 +18,7 @@ import Parking from './parking'; import Agency from './agency'; import ItemType from './itemType'; import Zone from './zone'; +import Account from './account'; export default [ Item, @@ -40,4 +41,5 @@ export default [ Agency, ItemType, Zone, + Account, ]; diff --git a/src/router/routes.js b/src/router/routes.js index 04780ee17..46b7293d4 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -18,6 +18,7 @@ import roadmap from 'src/router/modules/roadmap'; import parking from 'src/router/modules/parking'; import agency from 'src/router/modules/agency'; import zone from 'src/router/modules/zone'; +import account from './modules/account'; const routes = [ { @@ -77,6 +78,7 @@ const routes = [ agency, ItemType, zone, + account, { path: '/:catchAll(.*)*', name: 'NotFound', diff --git a/src/stores/useNavigationStore.js b/src/stores/useNavigationStore.js index ee1e04e9b..6ae571cfc 100644 --- a/src/stores/useNavigationStore.js +++ b/src/stores/useNavigationStore.js @@ -22,6 +22,7 @@ export const useNavigationStore = defineStore('navigationStore', () => { 'worker', 'wagon', 'zone', + 'account', ]; const pinnedModules = ref([]); const role = useRole(); From c8b9233c8793723651d3e79d122d969499b0da1e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 9 May 2024 08:00:53 +0200 Subject: [PATCH 02/25] feat #7311: i18n pageTitles --- src/i18n/locale/en.yml | 13 ++++++++++++- src/i18n/locale/es.yml | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 0e27eeade..f3025a9e0 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1231,10 +1231,21 @@ item/itemType: summary: Summary zone: pageTitles: - zones: Zone + zones: Zones zonesList: Zones deliveryList: Delivery days upcomingList: Upcoming deliveries +account: + pageTitles: + users: Users + usersList: Users + roles: Roles + alias: Mail aliasses + accounts: Accounts + ldap: LDAP + samba: Samba + acls: ACLs + connections: Connections components: topbar: {} itemsFilterPanel: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index bc246a6cb..9127e6609 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1230,10 +1230,21 @@ item/itemType: summary: Resumen zone: pageTitles: - zones: Zona + zones: Zonas zonesList: Zonas deliveryList: Días de entrega upcomingList: Próximos repartos +account: + pageTitles: + users: Usuarios + usersList: Usuarios + roles: Roles + alias: Alias de correo + accounts: Cuentas + ldap: LDAP + samba: Samba + acls: ACLs + connections: Conexiones components: topbar: {} itemsFilterPanel: From 0947dcc17ea08864ef315360487b46e270505afe Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 9 May 2024 08:28:50 +0200 Subject: [PATCH 03/25] feat #7311:sunmodules --- src/pages/Account/AccountAccounts.vue | 118 ++++++++++++ src/pages/Account/AccountAcls.vue | 116 ++++++++++++ src/pages/Account/AccountAlias.vue | 116 ++++++++++++ src/pages/Account/AccountConnections.vue | 116 ++++++++++++ src/pages/Account/AccountFilter.vue | 225 +++++++++++++++++++++++ src/pages/Account/AccountLdap.vue | 116 ++++++++++++ src/pages/Account/AccountList.vue | 148 +++++++++++++++ src/pages/Account/AccountMain.vue | 17 ++ src/pages/Account/AccountRoles.vue | 116 ++++++++++++ src/pages/Account/AccountSamba.vue | 118 ++++++++++++ 10 files changed, 1206 insertions(+) create mode 100644 src/pages/Account/AccountAccounts.vue create mode 100644 src/pages/Account/AccountAcls.vue create mode 100644 src/pages/Account/AccountAlias.vue create mode 100644 src/pages/Account/AccountConnections.vue create mode 100644 src/pages/Account/AccountFilter.vue create mode 100644 src/pages/Account/AccountLdap.vue create mode 100644 src/pages/Account/AccountList.vue create mode 100644 src/pages/Account/AccountMain.vue create mode 100644 src/pages/Account/AccountRoles.vue create mode 100644 src/pages/Account/AccountSamba.vue diff --git a/src/pages/Account/AccountAccounts.vue b/src/pages/Account/AccountAccounts.vue new file mode 100644 index 000000000..ba6f50cbc --- /dev/null +++ b/src/pages/Account/AccountAccounts.vue @@ -0,0 +1,118 @@ + + + diff --git a/src/pages/Account/AccountAcls.vue b/src/pages/Account/AccountAcls.vue new file mode 100644 index 000000000..a479ca330 --- /dev/null +++ b/src/pages/Account/AccountAcls.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/pages/Account/AccountAlias.vue b/src/pages/Account/AccountAlias.vue new file mode 100644 index 000000000..a479ca330 --- /dev/null +++ b/src/pages/Account/AccountAlias.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/pages/Account/AccountConnections.vue b/src/pages/Account/AccountConnections.vue new file mode 100644 index 000000000..a479ca330 --- /dev/null +++ b/src/pages/Account/AccountConnections.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/pages/Account/AccountFilter.vue b/src/pages/Account/AccountFilter.vue new file mode 100644 index 000000000..23b72266c --- /dev/null +++ b/src/pages/Account/AccountFilter.vue @@ -0,0 +1,225 @@ + + + + + +en: + params: + search: Contains + clientFk: Customer + clientName: Customer + salesPersonFk: Salesperson + attenderFk: Attender + accountResponsibleFk: Responsible + accountStateFk: State + created: Created + myTeam: My team +es: + params: + search: Contiene + clientFk: Cliente + clientName: Cliente + salesPersonFk: Comercial + attenderFk: Asistente + accountResponsibleFk: Responsable + accountStateFk: Estado + created: Creada + Customer ID: ID cliente + Client Name: Nombre del cliente + Salesperson: Comercial + Attender: Asistente + Responsible: Responsable + State: Estado + Item: Artículo + Created: Creada + More options: Más opciones + myTeam: Mi equipo + diff --git a/src/pages/Account/AccountLdap.vue b/src/pages/Account/AccountLdap.vue new file mode 100644 index 000000000..a479ca330 --- /dev/null +++ b/src/pages/Account/AccountLdap.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/pages/Account/AccountList.vue b/src/pages/Account/AccountList.vue new file mode 100644 index 000000000..f26c741c2 --- /dev/null +++ b/src/pages/Account/AccountList.vue @@ -0,0 +1,148 @@ + + + + + +es: + Search account: Buscar reclamación + You can search by account id or customer name: Puedes buscar por id de la reclamación o nombre del cliente + diff --git a/src/pages/Account/AccountMain.vue b/src/pages/Account/AccountMain.vue new file mode 100644 index 000000000..f0dc2e500 --- /dev/null +++ b/src/pages/Account/AccountMain.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/pages/Account/AccountRoles.vue b/src/pages/Account/AccountRoles.vue new file mode 100644 index 000000000..a479ca330 --- /dev/null +++ b/src/pages/Account/AccountRoles.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/pages/Account/AccountSamba.vue b/src/pages/Account/AccountSamba.vue new file mode 100644 index 000000000..ba6f50cbc --- /dev/null +++ b/src/pages/Account/AccountSamba.vue @@ -0,0 +1,118 @@ + + + From 99ef7fad76d90fb365cad4a8567f2ddc0d850587 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 9 May 2024 08:28:58 +0200 Subject: [PATCH 04/25] feat #7311: subsections --- src/i18n/locale/es.yml | 4 +- src/pages/Account/Card/AccountBasicData.vue | 181 +++++++ src/pages/Account/Card/AccountCard.vue | 15 + src/pages/Account/Card/AccountDescriptor.vue | 216 ++++++++ .../Account/Card/AccountDescriptorMenu.vue | 130 +++++ src/pages/Account/Card/AccountLog.vue | 6 + .../Account/Card/AccountMailForwarding.vue | 256 +++++++++ src/pages/Account/Card/AccountPrivileges.vue | 354 ++++++++++++ src/pages/Account/Card/AccountSummary.vue | 502 ++++++++++++++++++ src/pages/Account/locale/es.yml | 2 + src/router/modules/account.js | 156 +++--- 11 files changed, 1747 insertions(+), 75 deletions(-) create mode 100644 src/pages/Account/Card/AccountBasicData.vue create mode 100644 src/pages/Account/Card/AccountCard.vue create mode 100644 src/pages/Account/Card/AccountDescriptor.vue create mode 100644 src/pages/Account/Card/AccountDescriptorMenu.vue create mode 100644 src/pages/Account/Card/AccountLog.vue create mode 100644 src/pages/Account/Card/AccountMailForwarding.vue create mode 100644 src/pages/Account/Card/AccountPrivileges.vue create mode 100644 src/pages/Account/Card/AccountSummary.vue create mode 100644 src/pages/Account/locale/es.yml diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 9127e6609..e23f4328c 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1231,13 +1231,13 @@ item/itemType: zone: pageTitles: zones: Zonas - zonesList: Zonas + list: Zonas deliveryList: Días de entrega upcomingList: Próximos repartos account: pageTitles: users: Usuarios - usersList: Usuarios + list: Usuarios roles: Roles alias: Alias de correo accounts: Cuentas diff --git a/src/pages/Account/Card/AccountBasicData.vue b/src/pages/Account/Card/AccountBasicData.vue new file mode 100644 index 000000000..7a3548b8b --- /dev/null +++ b/src/pages/Account/Card/AccountBasicData.vue @@ -0,0 +1,181 @@ + + diff --git a/src/pages/Account/Card/AccountCard.vue b/src/pages/Account/Card/AccountCard.vue new file mode 100644 index 000000000..4fa3bad7f --- /dev/null +++ b/src/pages/Account/Card/AccountCard.vue @@ -0,0 +1,15 @@ + + diff --git a/src/pages/Account/Card/AccountDescriptor.vue b/src/pages/Account/Card/AccountDescriptor.vue new file mode 100644 index 000000000..bdc0113a6 --- /dev/null +++ b/src/pages/Account/Card/AccountDescriptor.vue @@ -0,0 +1,216 @@ + + + + + + en: + accountRate: Claming rate + es: + accountRate: Ratio de reclamación + diff --git a/src/pages/Account/Card/AccountDescriptorMenu.vue b/src/pages/Account/Card/AccountDescriptorMenu.vue new file mode 100644 index 000000000..b63c0e5a8 --- /dev/null +++ b/src/pages/Account/Card/AccountDescriptorMenu.vue @@ -0,0 +1,130 @@ + + + + +{ + "en": { + "pickupOrder": "Pickup order", + "openPickupOrder": "Open pickup order", + "sendPickupOrder": "Send pickup order", + "deleteAccount": "Delete account", + "confirmDeletion": "Confirm deletion", + "confirmDeletionMessage": "Are you sure you want to delete this account?" + }, + "es": { + "pickupOrder": "Orden de recogida", + "openPickupOrder": "Abrir orden de recogida", + "sendPickupOrder": "Enviar orden de recogida", + "deleteAccount": "Eliminar reclamación", + "confirmDeletion": "Confirmar eliminación", + "confirmDeletionMessage": "Seguro que quieres eliminar esta reclamación?" + } +} + diff --git a/src/pages/Account/Card/AccountLog.vue b/src/pages/Account/Card/AccountLog.vue new file mode 100644 index 000000000..cfcf224c7 --- /dev/null +++ b/src/pages/Account/Card/AccountLog.vue @@ -0,0 +1,6 @@ + + diff --git a/src/pages/Account/Card/AccountMailForwarding.vue b/src/pages/Account/Card/AccountMailForwarding.vue new file mode 100644 index 000000000..d8a43c623 --- /dev/null +++ b/src/pages/Account/Card/AccountMailForwarding.vue @@ -0,0 +1,256 @@ + + + + + + +es: + Reason: Motivo + Result: Consecuencia + Responsible: Responsable + Worker: Trabajador + Redelivery: Devolución + diff --git a/src/pages/Account/Card/AccountPrivileges.vue b/src/pages/Account/Card/AccountPrivileges.vue new file mode 100644 index 000000000..b74e4a418 --- /dev/null +++ b/src/pages/Account/Card/AccountPrivileges.vue @@ -0,0 +1,354 @@ + + + + + + +en: + You are about to remove {count} rows: ' + You are about to remove {count} row | + You are about to remove {count} rows' +es: + Delivered: Entregado + Quantity: Cantidad + Accounted: Reclamada + Description: Descripción + Price: Precio + Discount: Descuento + Actions: Acciones + Amount: Total + Amount Accounted: Cantidad reclamada + Delete accounted sales: Eliminar ventas reclamadas + Discount updated: Descuento actualizado + Accounted quantity: Cantidad reclamada + You are about to remove {count} rows: ' + Vas a eliminar {count} línea | + Vas a eliminar {count} líneas' + diff --git a/src/pages/Account/Card/AccountSummary.vue b/src/pages/Account/Card/AccountSummary.vue new file mode 100644 index 000000000..c6b06ce54 --- /dev/null +++ b/src/pages/Account/Card/AccountSummary.vue @@ -0,0 +1,502 @@ + + + + + diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml new file mode 100644 index 000000000..eec5ecc8a --- /dev/null +++ b/src/pages/Account/locale/es.yml @@ -0,0 +1,2 @@ +Search account: Buscar usuario +You can search by account id or customer name: Puedes buscar por id de la reclamación o nombre del cliente diff --git a/src/router/modules/account.js b/src/router/modules/account.js index 674184383..6d85a4aa7 100644 --- a/src/router/modules/account.js +++ b/src/router/modules/account.js @@ -4,20 +4,28 @@ export default { path: '/account', name: 'Account', meta: { - title: 'accounts', - icon: 'vn:account', + title: 'users', + icon: 'face', moduleName: 'Account', }, component: RouterView, redirect: { name: 'AccountMain' }, menus: { - main: ['AccountList', 'AccountDepartment'], + main: [ + 'AccountList', + 'AccountRoles', + 'AccountAlias', + 'AccountAccounts', + 'AccountLdap', + 'AccountSamba', + 'AccountConnections', + ], card: [ 'AccountBasicData', 'AccountNotes', - 'AccountPda', - 'AccountNotificationsManager', - 'AccountPBX', + 'AccountMailForwarding', + 'AccountPrivileges', + 'AccountLog', 'AccountLog', 'AccountCalendar', 'AccountDms', @@ -42,14 +50,69 @@ export default { component: () => import('src/pages/Account/AccountList.vue'), }, { - path: 'department', - name: 'AccountDepartment', + path: 'roles', + name: 'AccountRoles', meta: { - title: 'department', - icon: 'vn:greuge', + title: 'roles', + icon: 'group', }, - component: () => import('src/pages/Account/AccountDepartment.vue'), + component: () => import('src/pages/Account/AccountRoles.vue'), }, + { + path: 'alias', + name: 'AccountAlias', + meta: { + title: 'alias', + icon: 'email', + }, + component: () => import('src/pages/Account/AccountAlias.vue'), + }, + { + path: 'accounts', + name: 'AccountAccounts', + meta: { + title: 'accounts', + icon: 'accessibility', + }, + component: () => import('src/pages/Account/AccountAccounts.vue'), + }, + { + path: 'ldap', + name: 'AccountLdap', + meta: { + title: 'ldap', + icon: 'account_tree', + }, + component: () => import('src/pages/Account/AccountLdap.vue'), + }, + { + path: 'samba', + name: 'AccountSamba', + meta: { + title: 'samba', + icon: 'preview', + }, + component: () => import('src/pages/Account/AccountSamba.vue'), + }, + { + path: 'acls', + name: 'AccountAcls', + meta: { + title: 'acls', + icon: 'check', + }, + component: () => import('src/pages/Account/AccountAcls.vue'), + }, + { + path: 'connections', + name: 'AccountConnections', + meta: { + title: 'connections', + icon: 'check', + }, + component: () => import('src/pages/Account/AccountConnections.vue'), + }, + { path: 'create', name: 'AccountCreate', @@ -77,8 +140,8 @@ export default { component: () => import('src/pages/Account/Card/AccountSummary.vue'), }, { - path: 'basic-data', name: 'AccountBasicData', + path: 'basic-data', meta: { title: 'basicData', icon: 'vn:settings', @@ -87,87 +150,34 @@ export default { import('src/pages/Account/Card/AccountBasicData.vue'), }, { - path: 'notes', - name: 'NotesCard', - redirect: { name: 'AccountNotes' }, - children: [ - { - path: '', - name: 'AccountNotes', - meta: { - title: 'notes', - icon: 'vn:notes', - }, - component: () => - import('src/pages/Account/Card/AccountNotes.vue'), - }, - ], - }, - { - name: 'AccountPda', - path: 'pda', + name: 'AccountMailForwarding', + path: 'mailForwarding', meta: { title: 'pda', icon: 'phone_android', }, - component: () => import('src/pages/Account/Card/AccountPda.vue'), + component: () => + import('src/pages/Account/Card/AccountMailForwarding.vue'), }, { - name: 'AccountNotificationsManager', - path: 'notifications', + name: 'AccountPrivileges', + path: 'privileges', meta: { title: 'notifications', icon: 'notifications', }, component: () => - import('src/pages/Account/Card/AccountNotificationsManager.vue'), - }, - { - path: 'pbx', - name: 'AccountPBX', - meta: { - title: 'pbx', - icon: 'vn:pbx', - }, - component: () => import('src/pages/Account/Card/AccountPBX.vue'), - }, - { - name: 'AccountDms', - path: 'dms', - meta: { - title: 'dms', - icon: 'cloud_upload', - }, - component: () => import('src/pages/Account/Card/AccountDms.vue'), + import('src/pages/Account/Card/AccountPrivileges.vue'), }, { name: 'AccountLog', path: 'log', meta: { title: 'log', - icon: 'vn:History', + icon: 'vn:log', }, component: () => import('src/pages/Account/Card/AccountLog.vue'), }, - { - name: 'AccountCalendar', - path: 'calendar', - meta: { - title: 'calendar', - icon: 'calendar_today', - }, - component: () => import('src/pages/Account/Card/AccountCalendar.vue'), - }, - { - name: 'AccountTimeControl', - path: 'time-control', - meta: { - title: 'timeControl', - icon: 'access_time', - }, - component: () => - import('src/pages/Account/Card/AccountTimeControl.vue'), - }, ], }, ], From c68ad5be34b58a409320fdcf839b334ef99e6c16 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 9 May 2024 08:40:00 +0200 Subject: [PATCH 05/25] feat #7311: minor changes --- src/i18n/locale/en.yml | 12 +----------- src/i18n/locale/es.yml | 12 +----------- src/pages/Account/AccountList.vue | 9 +-------- src/pages/Account/Card/AccountSummary.vue | 7 ------- src/pages/Account/locale/en.yml | 12 ++++++++++++ src/pages/Account/locale/es.yml | 14 ++++++++++++-- src/router/modules/account.js | 5 ----- 7 files changed, 27 insertions(+), 44 deletions(-) create mode 100644 src/pages/Account/locale/en.yml diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index e7747b77a..ebe9070c4 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1240,17 +1240,7 @@ zone: zonesList: Zones deliveryList: Delivery days upcomingList: Upcoming deliveries -account: - pageTitles: - users: Users - usersList: Users - roles: Roles - alias: Mail aliasses - accounts: Accounts - ldap: LDAP - samba: Samba - acls: ACLs - connections: Connections + components: topbar: {} itemsFilterPanel: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index ae927bd00..30121b925 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1239,17 +1239,7 @@ zone: list: Zonas deliveryList: Días de entrega upcomingList: Próximos repartos -account: - pageTitles: - users: Usuarios - list: Usuarios - roles: Roles - alias: Alias de correo - accounts: Cuentas - ldap: LDAP - samba: Samba - acls: ACLs - connections: Conexiones + components: topbar: {} itemsFilterPanel: diff --git a/src/pages/Account/AccountList.vue b/src/pages/Account/AccountList.vue index f26c741c2..da25da15c 100644 --- a/src/pages/Account/AccountList.vue +++ b/src/pages/Account/AccountList.vue @@ -12,7 +12,6 @@ import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorP import VnUserLink from 'src/components/ui/VnUserLink.vue'; import AccountSummary from './Card/AccountSummary.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; -import { getUrl } from 'src/composables/getUrl'; const stateStore = useStateStore(); const router = useRouter(); @@ -42,7 +41,7 @@ function navigate(event, id) { @@ -140,9 +139,3 @@ function navigate(event, id) { - - -es: - Search account: Buscar reclamación - You can search by account id or customer name: Puedes buscar por id de la reclamación o nombre del cliente - diff --git a/src/pages/Account/Card/AccountSummary.vue b/src/pages/Account/Card/AccountSummary.vue index c6b06ce54..8bd7c01d7 100644 --- a/src/pages/Account/Card/AccountSummary.vue +++ b/src/pages/Account/Card/AccountSummary.vue @@ -8,7 +8,6 @@ import FetchData from 'components/FetchData.vue'; import { getUrl } from 'src/composables/getUrl'; import { useSession } from 'src/composables/useSession'; import VnLv from 'src/components/ui/VnLv.vue'; -import AccountNotes from 'src/pages/Account/Card/AccountNotes.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue'; import VnTitle from 'src/components/common/VnTitle.vue'; @@ -276,12 +275,6 @@ async function changeState(value) { :url="`#/account/${entityId}/notes`" :text="t('account.summary.notes')" /> - Date: Thu, 9 May 2024 19:48:46 +0200 Subject: [PATCH 06/25] updates --- src/pages/Account/AccountAccounts.vue | 5 -- src/pages/Account/AccountAcls.vue | 2 - src/pages/Account/AccountAlias.vue | 3 -- src/pages/Account/AccountConnections.vue | 3 -- src/pages/Account/AccountLdap.vue | 3 -- src/pages/Account/AccountList.vue | 3 -- src/pages/Account/AccountRoles.vue | 3 -- src/pages/Account/AccountSamba.vue | 5 -- src/pages/Account/Card/AccountDescriptor.vue | 8 +-- .../Account/Card/AccountDescriptorMenu.vue | 50 +------------------ src/pages/Account/Card/AccountPrivileges.vue | 18 +------ src/pages/Account/Card/AccountSummary.vue | 9 +--- 12 files changed, 4 insertions(+), 108 deletions(-) diff --git a/src/pages/Account/AccountAccounts.vue b/src/pages/Account/AccountAccounts.vue index ba6f50cbc..2b94a88da 100644 --- a/src/pages/Account/AccountAccounts.vue +++ b/src/pages/Account/AccountAccounts.vue @@ -4,15 +4,12 @@ import { useRouter } from 'vue-router'; import { useStateStore } from 'stores/useStateStore'; import { toDate } from 'filters/index'; import VnPaginate from 'src/components/ui/VnPaginate.vue'; -import VnSearchbar from 'components/ui/VnSearchbar.vue'; import AccountFilter from './AccountFilter.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import CardList from 'src/components/ui/CardList.vue'; -import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import AccountSummary from './Card/AccountSummary.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; -import { getUrl } from 'src/composables/getUrl'; const stateStore = useStateStore(); const router = useRouter(); @@ -64,7 +61,6 @@ function navigate(event, id) { @@ -101,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - diff --git a/src/pages/Account/AccountAlias.vue b/src/pages/Account/AccountAlias.vue index a479ca330..2b94a88da 100644 --- a/src/pages/Account/AccountAlias.vue +++ b/src/pages/Account/AccountAlias.vue @@ -7,7 +7,6 @@ import VnPaginate from 'src/components/ui/VnPaginate.vue'; import AccountFilter from './AccountFilter.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import CardList from 'src/components/ui/CardList.vue'; -import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import AccountSummary from './Card/AccountSummary.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; @@ -62,7 +61,6 @@ function navigate(event, id) { @@ -99,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - @@ -99,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - @@ -99,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - @@ -124,7 +122,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - @@ -99,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - {{ row.clientName }} - @@ -101,7 +97,6 @@ function navigate(event, id) { outline style="margin-top: 15px" > - { data-key="accountData" > - +