From 67d6d4ef4571b3c130bd64fb5d8213a55057fe62 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 29 Nov 2024 10:05:09 +0100 Subject: [PATCH 1/5] fix: hotfix webAccess --- src/pages/Customer/Card/CustomerWebAccess.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Customer/Card/CustomerWebAccess.vue b/src/pages/Customer/Card/CustomerWebAccess.vue index eec127fde..85615e668 100644 --- a/src/pages/Customer/Card/CustomerWebAccess.vue +++ b/src/pages/Customer/Card/CustomerWebAccess.vue @@ -27,7 +27,7 @@ async function hasCustomerRole() { - + Date: Fri, 29 Nov 2024 12:20:53 +0100 Subject: [PATCH 2/5] fix: hotfix-accountWeb --- src/pages/Customer/Card/CustomerWebAccess.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Customer/Card/CustomerWebAccess.vue b/src/pages/Customer/Card/CustomerWebAccess.vue index 85615e668..9d2e43262 100644 --- a/src/pages/Customer/Card/CustomerWebAccess.vue +++ b/src/pages/Customer/Card/CustomerWebAccess.vue @@ -27,7 +27,7 @@ async function hasCustomerRole() { - - + + From 940fe5c2b94c1fe5871eb829abe7adf9841e03f3 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 29 Nov 2024 13:21:19 +0100 Subject: [PATCH 3/5] fix: #6943 CustomerAddressCreate --- .../components/CustomerAddressCreate.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/pages/Customer/components/CustomerAddressCreate.vue b/src/pages/Customer/components/CustomerAddressCreate.vue index f4a188243..6cf42b20e 100644 --- a/src/pages/Customer/components/CustomerAddressCreate.vue +++ b/src/pages/Customer/components/CustomerAddressCreate.vue @@ -18,8 +18,6 @@ const router = useRouter(); const formInitialData = reactive({ isDefaultAddress: false }); -const urlCreate = ref(''); - const agencyModes = ref([]); const incoterms = ref([]); const customsAgents = ref([]); @@ -40,13 +38,18 @@ function handleLocation(data, location) { data.countryFk = countryFk; } -function onAgentCreated(requestResponse, data) { - customsAgents.value.push(requestResponse); - data.customsAgentFk = requestResponse.id; +function onAgentCreated({ id, fiscalName }, data) { + customsAgents.value.push({ id, fiscalName }); + data.customsAgentFk = id; }