dBianchii / kodix-turbo

https://kodix.com.br
1 stars 0 forks source link

Incorrect careShiftId for tasks #295

Closed dBianchii closed 1 week ago

dBianchii commented 1 week ago

The function cloneCalendarTasksToCareTasks is currently permanently making all included tasks in the period be assgined to the opening shift. (careShiftId). Need to make it so whenever a new shift is about to start, we move all future already created careTasks to be moved to this next currentShift.

Poblem: image