Adds phone department field

Adds phone department field to details screen and adds conditional code
to check for existance of phone fields.