Code-4-Community / breaktime

1 stars 0 forks source link

Frontend: disable timesheet based on workflow status (associate -> supervisor) #26

Open izzyconner opened 7 months ago

izzyconner commented 7 months ago

Context

When the timesheet is at different stages in the workflow, different roles will be able to view/edit it. In this case, if the due date for an associate hasn't yet passed and the associate hasn't submitted yet, the supervisor should have the disabled version of the timesheet (i.e. view only).

On the other hand, if the associate has already submitted (at least for now), that should be final and they should now have the disabled timesheet view.