FIX. Now you are capable of assign a new document type to the selected employees.
You should add a new role only if you wanna add a new employee. So when the new role its added it must redirect you to employee add form.
Database config should be ignored.
A 'status' field its more convenient instead up_to_date so you can track updated, pending, expired, and close to expire documents.
A more intuitive header distribution.
Typo.
Expired, about to expire, and pending documents reports are now generated.
More expressive way to name the methods.
The salary its assigned to each employee no to roles, so roles table has no sense.
The required document types are the same for all the employees. So there's no need to ask.
Display fix.
For easiest view.
Maxlength fix.
Employees should not be deleted, just deactivate.
Now it's possible to edit the employee profile, in order to update his document expiration dates.
Time is not needed in the date field. Laravel does not provide that field type. So a raw query is executed.
The expiration date its inserted by the user, there is no need to be calculated.
Now its possible to edit the document type description.
Now you can choose if you wanna track a document expiration or not. So, a EXPIRATION field its more convenient in the documents table than "expire".
Colors and status were added in order to easily see the status of the document.