From 6c97f5eeb3d2dd72847483ce42fb20da072355b9 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 2 Oct 2024 08:37:03 +0000 Subject: [PATCH 01/60] fix: CustomerList form salesPersons options --- src/pages/Customer/CustomerList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index f6758bf4e..ef9916db1 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -68,7 +68,7 @@ const columns = computed(() => [ fields: ['id', 'name'], where: { role: 'salesPerson' }, optionFilter: 'firstName', - useLike: false, + useLike: true, }, create: false, columnField: { @@ -425,7 +425,7 @@ function handleLocation(data, location) { }" :fields="['id', 'nickname']" sort-by="nickname ASC" - :use-like="false" + :use-like="true" emit-value auto-load > -- 2.40.1 From aa41f0d8269344b001e88b4d9608ce8c89ea4f03 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 2 Oct 2024 08:38:54 +0000 Subject: [PATCH 02/60] fix: CustomerList form salesPersons options --- src/pages/Customer/CustomerList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index ef9916db1..43646d345 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -67,8 +67,7 @@ const columns = computed(() => [ url: 'Workers/activeWithInheritedRole', fields: ['id', 'name'], where: { role: 'salesPerson' }, - optionFilter: 'firstName', - useLike: true, + optionFilter: 'firstName' }, create: false, columnField: { @@ -423,9 +422,10 @@ function handleLocation(data, location) { :params="{ departmentCodes: ['VT', 'shopping'], }" - :fields="['id', 'nickname']" + :fields="['id', 'nickname', 'code']" sort-by="nickname ASC" - :use-like="true" + option-label="nickname" + option-value="id" emit-value auto-load > -- 2.40.1 From 860370019e91819b25da4638c384ccc3068854bd Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 4 Oct 2024 00:35:11 +0200 Subject: [PATCH 03/60] style: #6321Customer updatees --- src/components/common/VnTitle.vue | 2 +- src/components/ui/VnLinkMail.vue | 16 ++++ src/components/ui/VnLinkPhone.vue | 2 + .../Customer/Card/CustomerDescriptor.vue | 60 ++++++++++++++- .../Customer/Card/CustomerDescriptorMenu.vue | 4 +- src/pages/Customer/Card/CustomerSummary.vue | 11 ++- .../integration/client/ClientList.spec.js | 75 +++++++++++++++++++ 7 files changed, 164 insertions(+), 6 deletions(-) create mode 100644 src/components/ui/VnLinkMail.vue create mode 100644 test/cypress/integration/client/ClientList.spec.js diff --git a/src/components/common/VnTitle.vue b/src/components/common/VnTitle.vue index 1fbd43972..89dd8cd0c 100644 --- a/src/components/common/VnTitle.vue +++ b/src/components/common/VnTitle.vue @@ -8,7 +8,7 @@ defineProps({