Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bcgov/EDUC-EDX
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Aug 2, 2023
2 parents b9e4261 + d82567c commit b759d9c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions frontend/src/components/sdcCollection/StepFourValidateData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</v-col>
</v-row>
<v-row no-gutters>
<v-col class="ml-5">
<v-col class="ml-5 mb-2">
<v-row
no-gutters
class="mt-1"
Expand Down Expand Up @@ -144,6 +144,7 @@
<v-col
cols="5"
offset="1"
class="mt-3 mb-3"
>
<v-row>
<v-col>
Expand All @@ -156,7 +157,10 @@
</v-col>
</v-row>
</v-col>
<v-col cols="5">
<v-col
cols="5"
class="mt-3 mb-3"
>
<v-row>
<v-col>
<span class="headerVal">Legal Name</span>
Expand All @@ -180,7 +184,7 @@
>
<v-col cols="1">
<v-icon
class="mt-2"
class="mt-2 mr-3"
size="25"
:color="getIssueIconColor(item.value.sdcSchoolCollectionStudentStatusCode)"
>
Expand All @@ -190,27 +194,27 @@
<v-col cols="5">
<v-row no-gutters>
<v-col>
<span class="tableItemVal">{{ item.value.studentPen }}</span>
<span class="tableItemVal">{{ fieldOrHyphen(item.value.studentPen) }}</span>
</v-col>
</v-row>
<v-row no-gutters>
<v-col>
<span class="tableItemVal">{{ item.value.localID }}</span>
<span class="tableItemVal">{{ fieldOrHyphen(item.value.localID) }}</span>
</v-col>
</v-row>
</v-col>
<v-col>
<v-row no-gutters>
<v-col>
<span class="tableItemVal">
{{ `${fieldOrHyphen(item.value.legalLastName)} ${fieldOrHyphen(item.value.legalFirstName)}` }}
{{ `${fieldOrHyphen(item.value.legalLastName)}, ${fieldOrHyphen(item.value.legalFirstName)} ${fieldOrSpace(item.value.legalMiddleNames)}` }}
</span>
</v-col>
</v-row>
<v-row no-gutters>
<v-col>
<span class="tableItemVal">
{{ `${fieldOrHyphen(item.value.usualLastName)} ${fieldOrHyphen(item.value.usualFirstName)}` }}
{{ `${fieldOrHyphen(item.value.usualLastName)}, ${fieldOrHyphen(item.value.usualFirstName)} ${fieldOrSpace(item.value.usualMiddleNames)}` }}
</span>
</v-col>
</v-row>
Expand Down Expand Up @@ -925,6 +929,8 @@ const getValidationIssueSeverityCodeLabel = (severityCode) => {
const fieldOrHyphen = (field) => field || '-';
const fieldOrSpace = (field) => field || '';
const formatAndSortValidationIssues = (validationIssues = []) => {
let validationIssueMap = new Map();
for (let issue of validationIssues) {
Expand Down

0 comments on commit b759d9c

Please sign in to comment.