Skip to content

Commit

Permalink
updates for Renewal button and CCOF status text
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbeckett committed Dec 20, 2023
1 parent 9af943e commit 71278ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
</div>
<div v-else>
<p class="text-h5 blueText mb-0" v-if="ccofStatus === CCOF_STATUS_APPROVED">Status of your funding agreement for the current fiscal year: Active</p>
<p class="text-h5 blueText mb-0" v-if="ccofApplicationStatus === 'ACTIVE'">Status of your funding agreement for the current fiscal year: Active</p>
<p class="text-h5 blueText mb-0" v-else>Status: Submitted</p>
<v-btn dark class="blueButton mt-4" @click="viewApplication('NEW')" v-if="applicationType === 'NEW'">View Recent Application</v-btn>
<v-btn dark class="blueButton" @click="viewApplication('RENEW')" v-else-if="applicationType === 'RENEW' && applicationStatus === 'SUBMITTED' && ccofRenewStatus != RENEW_STATUS_ACTION_REQUIRED">View Recent Application</v-btn>
Expand Down Expand Up @@ -365,6 +365,7 @@ export default {
},
isRenewEnabled() {
console.log('can renew?: ' , this.isWithinRenewDate);
//renew disabled because current NEW application is in progress
if (this.applicationType === 'NEW' && this.applicationStatus === 'DRAFT') {
return false;
}
Expand Down

0 comments on commit 71278ff

Please sign in to comment.