Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8454 missing instructions r30 r31 #157

Merged
merged 3 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/components/ui/AppHelp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ export default {
list-style: disc;
margin-left: 20px;
}

:slotted(span) {
color: red;
}
</style>
31 changes: 30 additions & 1 deletion frontend/src/views/groupmember/AddDependent.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
<template>
<AppHelp>
<ul>
<li><p>Use this screen to add, or renew, a spouse or child on a group account.</p></li>
<li>
<p><b>This screen has been enhanced to allow you to also add dependents between the age of 19 and 24 who are studying at a Canadian educational institute.</b></p>
</li>
</ul>
<p><b>Before you begin:</b></p>
<ul>
<li><p>Use the PHN Inquiry screen to confirm that the dependent is currently eligible for publicly funded health care (Eligible? = Y) and, if they are a dependent between 19 and 24 years of age, check with your group member that their dependent's student status is confirmed.</p></li>
</ul>
<p><b>Student status</b></p>
<ul>
<li>
<p>A dependent <span>child who is older than 18 and younger than 25 years of age</span> may still be covered on your group member's account as an overage student if they are attending a school or educational institution located within Canada. If yes, click the "YES" button.</p>
</li>
</ul>
<p><b>Studies Completion Date</b></p>
<ul>
<li>
<p>
This is a mandatory field if you have selected the "YES" answer above. Enter the date (the year and month) when the dependent's studies in Canada are expected to finish. This date must be at least three months from today's date and can be up to five years into the future. If the dependent
is turning 25 during this period, you will be able to confirm them as a student until the month before their 25th birthday.
</p>
</li>
<li>If the transaction was completed, the PHN is displayed. You may wish to use the PHN with Get Contract Periods to verify that the correct dependent has been added as of the correct date</li>
</ul>
</AppHelp>
<div id="addGroupMemberDependent" v-if="inputFormActive">
<form @submit.prevent="submitForm">
<AppRow>
Expand Down Expand Up @@ -55,6 +83,7 @@
</template>

<script>
import AppHelp from '../../components/ui/AppHelp.vue'
import YesNoRadioButtonGroup from '../../components/ui/YesNoRadioButtonGroup.vue'
import useVuelidate from '@vuelidate/core'
import { helpers, required, requiredIf } from '@vuelidate/validators'
Expand All @@ -67,7 +96,7 @@ import { handleServiceError } from '../../util/utils'

export default {
name: 'AddDependent',
components: { YesNoRadioButtonGroup },
components: { YesNoRadioButtonGroup, AppHelp },
setup() {
const currentMonth = {
month: new Date().getMonth(),
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/views/groupmember/AddGroupMember.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<template>
<AppHelp>
<p>Use this screen to add <span>or renew</span> a new group member and their dependents <span>(if applicable)</span> to your MSP group account.</p>
<p><b>Before you begin:</b></p>
<ul>
<li><p>Use the PHN Inquiry screen to confirm that the employee and dependents are currently eligible for publicly funded health care (Eligible? = Y), and to check student status for any dependent children between 19 and 24.</p></li>
<li><p>A group member's Home Address must be in British Columbia.</p></li>
<li><p>NOTE - this screen does not have CITY or PROVINCE fields. Be sure to put them in the last completed line of address i.e., Line 1: 403 1575 Main Street Line 2: Vancouver BC</p></li>
<li><p>If the transaction was successful, the PHN will be displayed. You may wish to use the PHN with Get Contract Periods to verify that the correct group member has been added as of the correct date.</p></li>
</ul>
</AppHelp>
<div id="addGroupMember" v-if="addMode">
<form @submit.prevent="submitForm">
<AppRow>
Expand Down Expand Up @@ -114,6 +124,7 @@
</div>
</template>
<script>
import AppHelp from '../../components/ui/AppHelp.vue'
import useVuelidate from '@vuelidate/core'
import { required, requiredIf, helpers, maxLength } from '@vuelidate/validators'
import AddListDependent from '../../components/groupmember/AddListDependent.vue'
Expand Down Expand Up @@ -148,6 +159,7 @@ export default {
name: 'AddGroupMember',
components: {
AddListDependent,
AppHelp,
},
setup() {
return {
Expand Down