From 0a2afabf61680819a7200b4f68b213bdaf7f865d Mon Sep 17 00:00:00 2001 From: Jen Beckett <115109120+jenbeckett@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:23:10 -0800 Subject: [PATCH] banners to notify provider when viewing PCF while CR in progress --- .../ccofApplication/RenewOrganization.vue | 2 +- .../ccofApplication/group/LicenseUpload.vue | 29 ++++++++++++++- .../group/OrganizationInformation.vue | 35 +++++++++++++++++++ frontend/src/utils/common.js | 2 +- 4 files changed, 65 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ccofApplication/RenewOrganization.vue b/frontend/src/components/ccofApplication/RenewOrganization.vue index fc1b7377..01d9fab2 100644 --- a/frontend/src/components/ccofApplication/RenewOrganization.vue +++ b/frontend/src/components/ccofApplication/RenewOrganization.vue @@ -6,7 +6,7 @@ class="pa-10 text-h5" v-text="`Child Care Operating Funding Program - ${renewalYearLabel} Program Confirmation Form`" /> - + diff --git a/frontend/src/components/ccofApplication/group/LicenseUpload.vue b/frontend/src/components/ccofApplication/group/LicenseUpload.vue index 4a70291b..85ce8dd7 100644 --- a/frontend/src/components/ccofApplication/group/LicenseUpload.vue +++ b/frontend/src/components/ccofApplication/group/LicenseUpload.vue @@ -2,6 +2,28 @@ + + + + + + + + mdi-alert-octagon + + + You have a change request for the funding term still in progress. + + + + + You have a change request in progress. We will complete the assessment of your Program Confirmation Form once your change has been processed.

+
+
+
+

Licence Upload - {{ this.formattedProgramYear }} Program Confirmation Form

@@ -67,7 +89,7 @@ import rules from '@/utils/rules'; import {mapActions, mapGetters, mapMutations, mapState,} from 'vuex'; import alertMixin from '@/mixins/alertMixin'; import {getFileNameWithMaxNameLength, humanFileSize} from '@/utils/file'; -import {deepCloneObject, getFileExtension} from '@/utils/common'; +import {deepCloneObject, getFileExtension, isAnyChangeRequestActive} from '@/utils/common'; import NavButton from '@/components/util/NavButton'; export default { @@ -76,6 +98,7 @@ export default { props: {}, computed: { ...mapState('facility', ['facilityModel', 'facilityId']), + ...mapState('reportChanges', ['changeRequestStore',]), ...mapState('navBar', ['navBarList', 'changeRequestId']), ...mapState('application', ['isRenewal', 'formattedProgramYear', 'applicationStatus', 'unlockLicenseUpload', 'applicationId', 'isLicenseUploadComplete']), ...mapGetters('licenseUpload', ['getUploadedLicenses']), @@ -191,6 +214,10 @@ export default { ...mapMutations('application', ['setIsLicenseUploadCompleteInMap' , 'setIsLicenseUploadComplete']), ...mapMutations('navBar', ['forceNavBarRefresh']), ...mapMutations('reportChanges', ['setCRIsLicenseComplete']), + isSomeChangeRequestActive(){ + //Status of : "Submitted" "Action Required"; + return isAnyChangeRequestActive(this.changeRequestStore); + }, previous() { this.$router.push(this.previousPath); }, diff --git a/frontend/src/components/ccofApplication/group/OrganizationInformation.vue b/frontend/src/components/ccofApplication/group/OrganizationInformation.vue index f99c55db..83d9b710 100644 --- a/frontend/src/components/ccofApplication/group/OrganizationInformation.vue +++ b/frontend/src/components/ccofApplication/group/OrganizationInformation.vue @@ -7,6 +7,28 @@

Organization Information

+ + + + + + + + mdi-alert-octagon + + + You have a change request in progress. + + + + + We will complete the assessment of your Program Confirmation Form once your change has been processed.

+
+
+
+
@@ -126,7 +148,10 @@