shmakes / hf-basic

HF Basic UI
Apache License 2.0
2 stars 2 forks source link

Add emergency contact info to flight exports. #184

Closed shmakes closed 6 years ago

shmakes commented 6 years ago

Implementation issues include:

We do not collect Emergency Contact Email on the paper application for guardians or veterans. We only get email for the Alternate Contact for Veterans on paper and online applications and for the guardians online applications. Also, for guardians, we only have one phone number in the database.

Here is what we will display in the three fields in order of precedence:

emerg_contact_name

  1. r.emerg_contact.name
  2. r.alt_contact.name

emerg_contact_phone

  1. r.emerg_contact.address.phone
  2. r.emerg_contact.address.phone_eve
  3. r.emerg_contact.address.phone_mbl
  4. r.alt_contact.address.phone
  5. r.alt_contact.address.phone_eve
  6. r.alt_contact.address.phone_mbl

everg_contact_email

  1. r.emerg_contact.address.email
  2. r.alt_contact.address.email