There are several reasons an employee cannot be scheduled for a specific shift - when one is violated, it needs to be made clear to the user what the error is. Right now, there is an Error and a Warning class that are being used. The following items need to be categorized into warning or error, and a nice way of showing the warning or error to the user needs to be created. They also all need to be checked while ther user manually types the schedule - eventually they will also be criteria for an auto generating schedule.
[x] Employee is not available for the shift
[ ] Cannot work with someone else scheduled that day (Warning)
[ ] Already has too many hours that week (above their max hours per week)
[ ] Already scheduled that day (sometimes this is allowed to happen, but usually shouldn't - Warning)
There are several reasons an employee cannot be scheduled for a specific shift - when one is violated, it needs to be made clear to the user what the error is. Right now, there is an Error and a Warning class that are being used. The following items need to be categorized into warning or error, and a nice way of showing the warning or error to the user needs to be created. They also all need to be checked while ther user manually types the schedule - eventually they will also be criteria for an auto generating schedule.