You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jrunningen Looking through this, I think this might related to how we collect data or map it to the PDF. In the Contacts section of the online form, we allow case workers to specify the relationship type, but it doesn't look like we can use that information to populate a form that explicitly asks for an Emergency Contact.
In /districthousing/app/models:
$ grep when *.rb | grep -i emerg
doesn't give any results, so it looks like we don't have any regexes that look for PDF field names starting with EmergencyContact. We should add some. The Dupont Park PDF specifically wants these fields:
I think these can all be handled by checking for /^EmergencyContact/ in a when clause in applicant.rb, like we already do with when /^Contact(\d+)(.+)$/, then delegate to a list of emergency contacts.
If someone in the meetup wants to pick up a coding bug, I think this is a good one to try out, since it's not too hairy.
kevko
changed the title
[PDF] Dupont Park page 5: emergency contact
[Really a data model question now][PDF] Dupont Park page 5: emergency contact
Aug 17, 2016
kevko
changed the title
[Really a data model question now][PDF] Dupont Park page 5: emergency contact
[data model] Dupont Park page 5: emergency contact
Jan 13, 2017
From Stacey:
The text was updated successfully, but these errors were encountered: