Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNatoli committed Nov 12, 2017
2 parents 2b5b0be + 0e43cb1 commit 93b1846
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const HeadOfHousehold = () => {
id="email"
name="household.email"
type="email"
validator={requiredValidator}
/>
</Col>
<Col md={4} xs={12}>
Expand Down
9 changes: 3 additions & 6 deletions server/apps/nominations/validators/household.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ const lastName = check('household.name_last').exists();
const dob = check('household.dob').exists();
const race = check('household.race').exists();
const gender = check('household.gender').exists();
const email = check('household.email').exists();
// const email = check('household.email').exists();
const last4ssn = check('household.last4ssn').exists();
const preferredContact = check('household.preferred_contact_method').exists();

const addressLine1 = check('address.street').exists();
const city = check('address.city').exists();
const state = check('address.state').exists();
const zip = check('address.zip').exists();
const division = check('address.cmpd_division').exists();
const responseArea = check('address.cmpd_response_area').exists();
// const division = check('address.cmpd_division').exists();
// const responseArea = check('address.cmpd_response_area').exists();
const deliveryAddressType = check('address.type').exists();

const number = check('phoneNumbers.*.number').exists();
Expand Down Expand Up @@ -48,15 +48,12 @@ module.exports = [
dob,
race,
gender,
email,
last4ssn,
preferredContact,
addressLine1,
city,
state,
zip,
division,
responseArea,
deliveryAddressType,
number,
type,
Expand Down
14 changes: 14 additions & 0 deletions server/seeds/01_affiliation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,20 @@ const cmsSchools = [
'city': 'Charlotte',
'state': 'NC',
'zip': 28205
},
{
'name': 'Other',
'street': '',
'city': '',
'state': '',
'zip': ''
},
{
'name': 'No School',
'street': '',
'city': '',
'state': '',
'zip': ''
}
];

Expand Down

0 comments on commit 93b1846

Please sign in to comment.