Skip to content

Commit

Permalink
Merge pull request #197 from bcgov/feature/tracker-status-desc
Browse files Browse the repository at this point in the history
Permit Tracker - Status description modal
  • Loading branch information
kyle1morel authored Nov 21, 2024
2 parents 210523e + 67713d3 commit bd52751
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions frontend/src/components/permit/PermitStatusDescriptionModal.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<script setup lang="ts">
import StatusPill from '@/components/common/StatusPill.vue';
import { Dialog } from '@/lib/primevue';
import { PermitAuthorizationStatus } from '@/utils/enums/housing';
const visible = defineModel<boolean>('visible');
</script>

<template>
<Dialog
v-model:visible="visible"
:draggable="false"
:modal="true"
class="app-info-dialog w-6"
>
<template #header>
<span class="p-dialog-title">Application stages</span>
</template>
<div>The application reviewing process includes four stages.</div>
<div class="my-4">
<div class="text-lg font-bold mb-2">Application submission</div>
<div>
The technical review stage is when the reviewing authority conducts a thorough evaluation of the application in
preparation for making a decision.
</div>
</div>
<div class="my-4">
<div class="text-lg font-bold mb-2">Technical review</div>
<div>
The technical review stage is when the reviewing authority conducts a thorough evaluation of the application in
preparation for making a decision.
</div>
</div>
<div class="my-4">
<div class="text-lg font-bold mb-2">Pending decision</div>
<div>
The pending decision stage is when the decision-makers review the evaluation and issue their final decision.
</div>
</div>
<div class="my-4">
<div class="text-lg font-bold mb-2">Post-decision</div>
<div>The post-decision stage is when a final decision has been made. This concludes the application.</div>
</div>

<div class="text-2xl font-bold mb-2">Application statuses</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.IN_REVIEW" />
</div>
<div class="mt-2">The application is currently active.</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.PENDING" />
</div>
<div class="mt-2">
The application is currently pending the applicant’s action in response to the reviewing authority’s request.
</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.ABANDONED" />
</div>
<div class="mt-2">The application has been abandoned by the applicant.</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.WITHDRAWN" />
</div>
<div class="mt-2">The application has been withdrawn by the applicant.</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.CANCELLED" />
</div>
<div class="mt-2">The application has been cancelled by the reviewing authority.</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.DENIED" />
</div>
<div class="mt-2">
The application has completed the review process, however, the reviewing authority has decided not to approve
the application.
</div>
</div>
<div class="my-4">
<div class="flex">
<StatusPill :auth-status="PermitAuthorizationStatus.ISSUED" />
</div>
<div class="mt-2">
The application has successfully completed the review process. A positive final decision has been granted to the
applicant.
</div>
</div>
</Dialog>
</template>

0 comments on commit bd52751

Please sign in to comment.