gpe-tech / ranger-clubhouse-web

Gatehouse Web Application
Other
0 stars 1 forks source link

Shift hours VS Whole shifts #11

Open NatashaGayte opened 3 years ago

NatashaGayte commented 3 years ago

R's calculate credits by hour. Since technically a ranger can walk up to ranger HQ, ask to be put on shift and begin their shift almost immediately. Also, events might prevent some rangers from coming back from their shift for shift change. This Does not happen with GP&E. you either work a full shift or nothing. We need to find a way to ignore the "Shift start" - "Shift end" functions and instead have a function "Present" or "Not Present". If someone turns up late to their shift it's at their supervisor's discretion if they can put them to work (and credit them for the whole shift) or tell them that it's too late and they should go home.

courtenay commented 3 years ago

From an initial look, the shift checkin function actually attaches to a 'slot', which sets the hours correctly and signs them out once the shift is done. So I don't think this is a huge deal, as the code exists and you have to override it to let someone do custom hours. But this will require a more thorough reading of the code.