Skip to content

Commit

Permalink
Merge pull request #434 from uw-it-aca/task/parent-attributes
Browse files Browse the repository at this point in the history
add parent attrs to student fixture
  • Loading branch information
jlaney committed Jul 3, 2024
2 parents 08b063e + 79a7b10 commit 204f416
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion compass/fixtures/uw_person/student.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,19 @@
"local_addr_line2": null,
"local_addr_postal_code": null,
"local_addr_state": "CA",
"local_phone_number": "(999) 123-4567",
"local_phone_number": "9991234567",
"new_continuing_returning_code": "0",
"new_continuing_returning_desc": "CONTINUING",
"parent_name": "Average,Joe",
"parent_addr_4digit_zip": "1353",
"parent_addr_5digit_zip": "94306",
"parent_addr_city": "PALO ALTO",
"parent_addr_country": null,
"parent_addr_line1": "2323 PRINCETON ST",
"parent_addr_line2": null,
"parent_addr_postal_code": null,
"parent_addr_state": "CA",
"parent_phone_number": "4048675309",
"perm_addr_4digit_zip": "1353",
"perm_addr_5digit_zip": "94306",
"perm_addr_city": "PALO ALTO",
Expand All @@ -87,6 +96,7 @@
"perm_addr_line2": null,
"perm_addr_postal_code": null,
"perm_addr_state": "CA",
"perm_phone_number": "4048675309",
"previous_institution_name": "PALO ALTO SENIOR H S",
"previous_institution_type": "1",
"previous_institution_type_desc": "HIGH SCHOOL",
Expand Down
6 changes: 3 additions & 3 deletions compass_vue/components/student/profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
{{ person.student.local_addr_5digit_zip }}
</div>
</address>
<div v-show="person.student.local_phone_number !== null">{{ person.student.local_phone_number }}</div>
<div v-show="person.student.local_phone_number !== null">{{ formatPhoneNumber(person.student.local_phone_number) }}</div>
</template>
</KeyValue>
</li>
Expand All @@ -315,7 +315,7 @@
{{ person.student.perm_addr_country }}
</div>
</address>
<div v-show="person.student.perm_phone_number !== null">{{ person.student.perm_phone_number }}</div>
<div v-show="person.student.perm_phone_number !== null">{{ formatPhoneNumber(person.student.perm_phone_number) }}</div>
</template>
</KeyValue>
</li>
Expand All @@ -336,7 +336,7 @@
{{ person.student.parent_addr_country }}
</div>
</address>
<div v-show="person.student.parent_phone_number !== null">{{ person.student.parent_phone_number }}</div>
<div v-show="person.student.parent_phone_number !== null">{{ formatPhoneNumber(person.student.parent_phone_number) }}</div>
</template>
</KeyValue>
</li>
Expand Down

0 comments on commit 204f416

Please sign in to comment.