You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When shifts start before midnight and end after midnight, they just wrap off the edge of the viewport.
When a 'repeated' shift starts after midnight, it shows on the current day instead of the next day.
Preferred state:
When a shift starts before midnight and ends after midnight, the bar should end at midnight, and then it should appear on the following day starting at midnight and going until shift end.
When a repeated shift starts after midnight, it should show on the following day.
The text was updated successfully, but these errors were encountered:
I tried to hack at the first item a bit, to set a day to display date->subDay()'s shifts when end time < start time.
It appeared to work, but with a complicated schedule, everything kinda blew up and it displayed things in all the wrong places.
here's what i'd added: @foreach($schedule->slots->where('start_date', $day->date->subDays(1)->format('Y-m-d'))->filter(function ($item){return $item->end_time < $item->start_time;}) as $slot) @include('partials/event/slotwrap') @Endforeach
slotwrap is identical to slot, except for the span it has the data-start set to 0:00:00 and the data-duration set to end_time
@jcam Can you provide an example of the shift you are trying to create? What start time and shift duration are you using? And what department needs repeating shifts past midnight? I'm assuming rangers or medical?
Current issues:
Preferred state:
The text was updated successfully, but these errors were encountered: