58
58
59
59
<div v-else-if="ccofStatus === CCOF_STATUS_CONTINUE">
60
60
<p class="text-h5 blueText">Status: Incomplete</p>
61
- <v-btn theme="dark" class="blueButton" @click="continueApplication ()"> Continue Application </v-btn>
61
+ <v-btn theme="dark" class="blueButton" @click="goToCCOFOrganizationInfo ()"> Continue Application </v-btn>
62
62
<p class="mt-4">Fiscal year runs April 1 to March 31</p>
63
63
<v-btn v-if="isCancelPcfButtonEnabled" theme="dark" class="redButton" @click="openDialog()">
64
64
Cancel Application
@@ -348,7 +348,13 @@ import { useMessageStore } from '@/store/message.js';
348
348
import SmallCard from '@/components/guiComponents/SmallCard.vue';
349
349
import MessagesToolbar from '@/components/guiComponents/MessagesToolbar.vue';
350
350
import FiscalYearSlider from '@/components/guiComponents/FiscalYearSlider.vue';
351
- import { PATHS, pcfUrl, pcfUrlGuid, CHANGE_REQUEST_EXTERNAL_STATUS } from '@/utils/constants.js';
351
+ import {
352
+ PATHS,
353
+ pcfUrl,
354
+ pcfUrlGuid,
355
+ CHANGE_REQUEST_EXTERNAL_STATUS,
356
+ ORGANIZATION_PROVIDER_TYPES,
357
+ } from '@/utils/constants.js';
352
358
import alertMixin from '@/mixins/alertMixin.js';
353
359
import { checkApplicationUnlocked } from '@/utils/common.js';
354
360
@@ -660,19 +666,13 @@ export default {
660
666
this.setIsRenewal(false);
661
667
this.$router.push(pcfUrl(PATHS.SELECT_APPLICATION_TYPE, this.programYearList.newApp.programYearId));
662
668
},
663
- continueApplication() {
664
- this.setIsRenewal(false);
665
- this.$router.push(
666
- pcfUrl(
667
- this.organizationProviderType === 'GROUP' ? PATHS.CCOF_GROUP_ORG : PATHS.CCOF_FAMILY_ORG,
668
- this.programYearId,
669
- ),
670
- );
671
- },
672
669
goToCCOFOrganizationInfo() {
670
+ this.setIsRenewal(false);
673
671
this.$router.push(
674
672
pcfUrl(
675
- this.organizationProviderType === 'GROUP' ? PATHS.CCOF_GROUP_ORG : PATHS.CCOF_FAMILY_ORG,
673
+ this.organizationProviderType === ORGANIZATION_PROVIDER_TYPES.GROUP
674
+ ? PATHS.CCOF_GROUP_ORG
675
+ : PATHS.CCOF_FAMILY_ORG,
676
676
this.programYearId,
677
677
),
678
678
);
@@ -683,7 +683,9 @@ export default {
683
683
if (ccofBaseFundingId && programYearId) {
684
684
this.$router.push(
685
685
pcfUrlGuid(
686
- this.organizationProviderType === 'GROUP' ? PATHS.CCOF_GROUP_FUNDING : PATHS.CCOF_FAMILY_FUNDING,
686
+ this.organizationProviderType === ORGANIZATION_PROVIDER_TYPES.GROUP
687
+ ? PATHS.CCOF_GROUP_FUNDING
688
+ : PATHS.CCOF_FAMILY_FUNDING,
687
689
programYearId,
688
690
ccofBaseFundingId,
689
691
),
0 commit comments