From 0f28b9fe6eca769d988fcd3b36b2745ce6484ccb Mon Sep 17 00:00:00 2001 From: Le Date: Wed, 11 Oct 2023 13:43:57 -0700 Subject: [PATCH 1/5] CCFRI-2913 - fix missing info hyperlink in Summary Dec page --- backend/src/util/mapping/Mappings.js | 1 - frontend/src/components/SummaryDeclaration.vue | 7 ++++--- .../src/components/summary/group/ECEWESummary.vue | 14 +++++++++----- .../summary/group/UploadedDocumentsSummary.vue | 12 ++++++++---- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/backend/src/util/mapping/Mappings.js b/backend/src/util/mapping/Mappings.js index 4b6217317..dc057b02c 100644 --- a/backend/src/util/mapping/Mappings.js +++ b/backend/src/util/mapping/Mappings.js @@ -39,7 +39,6 @@ const FacilityMappings = [ { back: 'ccof_formcomplete', front: 'isFacilityComplete' }, { back: 'accountnumber', front: 'facilityAccountNumber' }, { back: '_ccof_change_request_value', front: 'changeRequestId' }, //likely won't stay here - { back: 'ccof_facilitystatus@OData.Community.Display.V1.FormattedValue', front: 'facilityStatus' }, // XXXXXXXXXXXXX: 'licenseEffectiveDate', // XXXXXXXXXXXXX: 'hasReceivedFunding', diff --git a/frontend/src/components/SummaryDeclaration.vue b/frontend/src/components/SummaryDeclaration.vue index df955b548..b16e95a87 100644 --- a/frontend/src/components/SummaryDeclaration.vue +++ b/frontend/src/components/SummaryDeclaration.vue @@ -122,7 +122,7 @@ + :documents="facility.documents" + :programYearId="summaryModel?.application?.programYearId">
diff --git a/frontend/src/components/summary/group/ECEWESummary.vue b/frontend/src/components/summary/group/ECEWESummary.vue index f89e366b4..4e2869cf1 100644 --- a/frontend/src/components/summary/group/ECEWESummary.vue +++ b/frontend/src/components/summary/group/ECEWESummary.vue @@ -165,12 +165,16 @@ export default { return !!(this.eceweFacility); }, getRoutingPath(){ - if(this.isChangeRequest){ - return changeUrl(PATHS.ECEWE_ELIGIBILITY, this.$route.params?.changeRecGuid); + if (this.isChangeRequest) { + if (!this.eceweFacility) { + return changeUrl(PATHS.ECEWE_ELIGIBILITY, this.$route.params?.changeRecGuid); + } + return changeUrl(PATHS.ECEWE_FACILITITES, this.$route.params?.changeRecGuid); } - else if(this.eceweFacility){ - return pcfUrl(PATHS.ECEWE_ELIGIBILITY, this.programYearId); - }else { + else { + if (!this.eceweFacility) { + return pcfUrl(PATHS.ECEWE_ELIGIBILITY, this.programYearId); + } return pcfUrl(PATHS.ECEWE_FACILITITES, this.programYearId); } }, diff --git a/frontend/src/components/summary/group/UploadedDocumentsSummary.vue b/frontend/src/components/summary/group/UploadedDocumentsSummary.vue index 0ff4b1bc2..170b28fe6 100644 --- a/frontend/src/components/summary/group/UploadedDocumentsSummary.vue +++ b/frontend/src/components/summary/group/UploadedDocumentsSummary.vue @@ -52,14 +52,15 @@