Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,49 @@
"attr": ""
}
],
"content": "<b>Please note</b> the funding you receive may differ from the eligible amount. The funding may be adjusted once confirmation of your outstanding principal balance of Part-time Canada Student loans and grants is received, or if any restrictions are added to your account after your initial assessment.",
"content": "<b>Please note that the funding you receive may differ from the eligible amount.</b>",
"type": "htmlelement",
"hideLabel": true,
"tableView": false
},
{
"key": "panelContent",
"conditional": {
"show": true,
"when": "offeringIntensity",
"eq": "Full Time"
},
"label": "Content",
"input": false,
"tag": "p",
"attrs": [
{
"value": "",
"attr": ""
}
],
"content": "Adjustments may occur due to overawards on your account, as a result of tuition remittance requested by your institution, or due to restrictions applied to your account following the initial assessment.",
"type": "htmlelement",
"hideLabel": true,
"tableView": false
},
{
"key": "panelContent",
"conditional": {
"show": true,
"when": "offeringIntensity",
"eq": "Part Time"
},
"label": "Content",
"input": false,
"tag": "p",
"attrs": [
{
"value": "",
"attr": ""
}
],
"content": "Adjustments may occur once confirmation of your outstanding principal balance of Part-time Canada Student loans and grants is received, as a result of tuition remittance requested by your institution, or due to restrictions applied to your account following the initial assessment.",
"type": "htmlelement",
"hideLabel": true,
"tableView": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { defineComponent, ref, watchEffect } from "vue";
import { ApplicationSupplementalDataAPIOutDTO } from "@/services/http/dto";
import { ApplicationService } from "@/services/ApplicationService";
import DetailHeader from "@/components/generic/DetailHeader.vue";
import { useFormatters } from "@/composables";
import { useFormatters, useOffering } from "@/composables";

export default defineComponent({
components: { DetailHeader },
Expand All @@ -21,6 +21,7 @@ export default defineComponent({
const applicationData = ref<ApplicationSupplementalDataAPIOutDTO>();
const headerMap = ref<Record<string, string | undefined>>({});
const { dateOnlyLongPeriodString } = useFormatters();
const { mapOfferingIntensity } = useOffering();

const mapApplicationHeader = (
application: ApplicationSupplementalDataAPIOutDTO,
Expand All @@ -33,7 +34,7 @@ export default defineComponent({
application.applicationStartDate,
application.applicationEndDate,
),
Type: application.applicationOfferingIntensity,
Type: mapOfferingIntensity(application.applicationOfferingIntensity),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

};
};

Expand Down
Loading