Merge pull request #40 from JonNatanael/master

Fixed a bug.
adding changes from server
Merge branch 'master' of https://github.com/ragezor/TPO
Merge branch 'master' of https://github.com/ragezor/TPO
Set some defaults to prevent crashes.
Reverted non-registered form changes.
Changed a bug when employee has no workinghours.