New screen to allow assigning driver and worker to an ambulance.
Opened this issue · 1 comments
sqljim commented
New screen to allow assigning driver and worker to an ambulance.
sqljim commented
Must be able to:
- Select a vehicle
- The staff selectors should then populate. These will need to have cascading filters applied to prevent the same person from being assigned the same ambulance assignment at the same time. E.g. Jagdish can't be the driver and worker at the same time.
- We will need to highlight when there is an ovelapping assignment (which is possible) that has the same staff member on it (which is not possible). But we shouldn't prevent the user from entering the same user to 2 overlapping assignments, however we should show an error when this event occurs and prevent saving of the assignment.
- Add a start time and end time for the assignment
- We should have a gantt chart showing the assignments during the day
- Each line of the gantt chart should have a popup that shows the start and end time of the assignment, the staff that are assigned and the ambulance number. Each ambulance could even have its own icon. We could ask Agnese to design new icons for each vehicle type.