From 9c0c0415857aeaeed99ea39eb0af62ed7dd5e7df Mon Sep 17 00:00:00 2001 From: ajithmuthukumar-bc <99731656+ajithmuthukumar-bc@users.noreply.github.com> Date: Thu, 2 Feb 2023 12:25:11 +0530 Subject: [PATCH 1/9] 3554 and 4543 issue is fixed (#1089) --- .../buyer-both-requests/buyer-both-requests.component.ts | 2 +- .../delegated-user-status.component.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component.ts b/src/app/pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component.ts index 01e57282a..371969949 100644 --- a/src/app/pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component.ts +++ b/src/app/pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component.ts @@ -30,7 +30,7 @@ export class BuyerBothRequestsComponent implements OnInit { ], organisationAuditList: '', pageName: 'Contactadmin', - hyperTextrray: ['Decline', 'Accept', 'View'], + hyperTextrray: ['View'], }; public verifiedBuyerAndBoth: any = { diff --git a/src/app/pages/manage-delegated/delegated-user-status/delegated-user-status.component.ts b/src/app/pages/manage-delegated/delegated-user-status/delegated-user-status.component.ts index a98cbc76f..b7455f364 100644 --- a/src/app/pages/manage-delegated/delegated-user-status/delegated-user-status.component.ts +++ b/src/app/pages/manage-delegated/delegated-user-status/delegated-user-status.component.ts @@ -36,8 +36,10 @@ export class DelegatedUserStatusComponent implements OnInit { ngOnInit(): void { this.route.queryParams.subscribe((para: any) => { - let RouteData = JSON.parse(atob(para.data)); - RouteData.event.userName = decodeURIComponent(unescape(RouteData.event.userName)); + let RouteData:any = JSON.parse(atob(para.data)); + if(RouteData.event){ + RouteData.event.userName = decodeURIComponent(unescape(RouteData.event.userName)); + } switch (RouteData.status) { case '001': { this.UserStatus = RouteData; From d2bd9e9e2d75c2f423fd51dfc87140737e29475e Mon Sep 17 00:00:00 2001 From: brijeshpatel-bc <108462846+brijeshpatel-bc@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:17:51 +0530 Subject: [PATCH 2/9] Bug 4400: Sprint 4-Response should be 400 bad request when send invalid status code in approve roles end point (#1088) Bug 4398: Sprint 4-:Issues in POST {{apigwurl}}/user-profiles/approve/roles API --- .../manage-user-add-single-user-detail.component.ts | 1 + src/app/pages/user-profile/user-profile-component.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/pages/manage-user/manage-user-add-single-user-detail/manage-user-add-single-user-detail.component.ts b/src/app/pages/manage-user/manage-user-add-single-user-detail/manage-user-add-single-user-detail.component.ts index 635cfd5c4..e1897b9a5 100644 --- a/src/app/pages/manage-user/manage-user-add-single-user-detail/manage-user-add-single-user-detail.component.ts +++ b/src/app/pages/manage-user/manage-user-add-single-user-detail/manage-user-add-single-user-detail.component.ts @@ -507,6 +507,7 @@ export class ManageUserAddSingleUserDetailComponent private submitPendingApproveRole(): void { let selectedRolesDetails = { userName: this.userProfileRequestInfo.userName, + organisationId: this.userProfileRequestInfo.organisationId, detail: { roleIds: this.selectedApproveRequiredRole } diff --git a/src/app/pages/user-profile/user-profile-component.ts b/src/app/pages/user-profile/user-profile-component.ts index 66af9f1b4..2cd8c18b1 100644 --- a/src/app/pages/user-profile/user-profile-component.ts +++ b/src/app/pages/user-profile/user-profile-component.ts @@ -499,6 +499,7 @@ export class UserProfileComponent extends FormBaseComponent implements OnInit { private submitPendingApproveRole(isValidDomain:boolean): void { let selectedRolesDetails = { userName: this.userName, + organisationId: this.organisationDetails.detail.organisationId, detail: { roleIds: this.selectedApproveRequiredRole } From 99d6e3867482381b0e81d535ced0b60004f8227a Mon Sep 17 00:00:00 2001 From: Sajeethhameed-bc <122615977+Sajeethhameed-bc@users.noreply.github.com> Date: Thu, 2 Feb 2023 17:06:15 +0530 Subject: [PATCH 3/9] 4462 content has been updated. (#1092) --- .../role-request-failed/role-request-failed.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/manage-role/role-request-failed/role-request-failed.component.html b/src/app/pages/manage-role/role-request-failed/role-request-failed.component.html index 33880065e..ff7666849 100644 --- a/src/app/pages/manage-role/role-request-failed/role-request-failed.component.html +++ b/src/app/pages/manage-role/role-request-failed/role-request-failed.component.html @@ -18,8 +18,8 @@
User {{userInfo.userName}} no longer requires access to Fleet Portal and the access - has been removed by the organisation admin.
+The access request for Fleet Portal for user + {{userInfo.userName}} has expired or it was already actioned.
An unexpected error has occurred. Please try again in a few minutes
Return to dashboardThe access request for Fleet Portal for user - {{userInfo.userName}} has expired or it was already actioned.
-An unexpected error has occurred. Please try again in a few minutes
+The access request for Fleet Portal for user + {{userInfo.userName}} has expired or it was already actioned.
+User {{userDetails.userName}} no longer requires access to Fleet Portal and the access + has been removed by the organisation admin.
+An unexpected error has occurred. Please try again in a few minutes
Return to dashboardThe access request for Fleet Portal for user {{userInfo.userName}} has expired or it was already actioned.
-User {{userDetails.userName}} no longer requires access to Fleet Portal and the access +
User {{userInfo.userName}} no longer requires access to Fleet Portal and the access has been removed by the organisation admin.
An unexpected error has occurred. Please try again in a few minutes
Return to dashboard From 90543caee85c38c6368aa072da78dae818e1a6ea Mon Sep 17 00:00:00 2001 From: ajithmuthukumar-bc <99731656+ajithmuthukumar-bc@users.noreply.github.com> Date: Fri, 3 Feb 2023 19:37:27 +0530 Subject: [PATCH 6/9] 4448-issues-fixed (#1100) --- Auth0Templates/ResetPassword.html | 8 +++++--- .../delegated-user-status.component.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Auth0Templates/ResetPassword.html b/Auth0Templates/ResetPassword.html index 7664fc280..ec144f7e9 100644 --- a/Auth0Templates/ResetPassword.html +++ b/Auth0Templates/ResetPassword.html @@ -563,10 +563,11 @@- The organisation’s administrator(s) will be notified that the right to buy status was declined. +
+ The organisation’s administrator(s) will be notified that the right to buy status has been declined.
-- View the details of the organisation that is pending the manual verification process for buyer status. If you want to accept this organisation as a verified buyer, please use ‘Accept buyer status’ button on the bottom of this page. +
+ View the details of the organisation that is pending the manual verification process for buyer + status. If you want to accept this organisation as a verified buyer, please use ‘Accept right to buy + status’ button on the bottom of this page.
- Organisation name :{{routeDetails.organisationName}} + Organisation name :{{routeDetails.organisationName}}
- Organisation type :{{routeDetails.organisationType == 0 ? 'Supplier' : (routeDetails.organisationType == 1 ? 'Buyer' : 'Both')}} + Organisation type :{{routeDetails.organisationType == 0 ? 'Supplier' : + (routeDetails.organisationType == 1 ? 'Buyer' : 'Both')}}
- Date of registration:{{routeDetails.dateOfRegistration | date: 'dd/MM/yyyy'}}
{{routeDetails.dateOfRegistration | date: 'HH:mm'}}
+ Date of registration:{{routeDetails.dateOfRegistration
+ | date: 'dd/MM/yyyy'}}
{{routeDetails.dateOfRegistration | date: 'HH:mm'}}
Registry | -ID | -. | -
---|---|---|
{{ getSchemaName(registries.identifier?.scheme||'') }} | -{{ registries.identifier?.id}} | -Primary | -
{{ getSchemaName(row.scheme) }} | -{{ row.id }} | -- |
Registry | +ID | +. | +
---|---|---|
{{ + getSchemaName(registries.identifier?.scheme||'') }} | +{{ registries.identifier?.id}} | +Primary | +
{{ getSchemaName(row.scheme) }} | +{{ row.id }} | ++ |
+ There are no matching results. +
- There are no matching results. -
-- Organisation name :{{routeDetails.event.organisationName}} + Organisation name :{{routeDetails.event.organisationName}}
- Organisation type :{{routeDetails.event.organisationType == 0 ? 'Supplier' : (routeDetails.event.organisationType == 1 ? 'Buyer' : 'Both')}} + Organisation type :{{routeDetails.event.organisationType == 0 ? 'Supplier' : + (routeDetails.event.organisationType == 1 ? 'Buyer' : 'Both')}}
- Date of registration:{{routeDetails.event.dateOfRegistration | date: 'dd/MM/yyyy'}}
{{routeDetails.event.dateOfRegistration | date: 'HH:mm'}}
+ Date of registration:{{routeDetails.event.dateOfRegistration
+ | date: 'dd/MM/yyyy'}}
{{routeDetails.event.dateOfRegistration | date: 'HH:mm'}}
- Right to buy status :{{routeDetails.event.rightToBuy ? 'Approved' : 'Declined'}} + Right to buy status :{{routeDetails.event.auditStatus==5? + 'Not Applicable' : routeDetails.event.rightToBuy ? + 'Approved' : 'Declined'}}
-Registry | -ID | -. | -
---|---|---|
{{ - getSchemaName(registries.identifier?.scheme||'') }} | -{{ registries.identifier?.id}} | -Primary | -
{{ getSchemaName(row.scheme) }} | -{{ row.id }} | -- |
- There are no matching results. -
-Registry | +ID | +. | +
---|---|---|
{{ + getSchemaName(registries.identifier?.scheme||'') }} | +{{ registries.identifier?.id}} | +Primary | +
{{ getSchemaName(row.scheme) }} + | +{{ row.id }} | ++ |
+ There are no matching results. +
+