Thanks (again) for your help pixelijn. I tried your proposal but it didn’t work…
I finally and hopefully managed to make my functions echo the right movies in the right month/day/time slots by adding a simple boolean, as suggested by Sonja in this post
$filteredScheduledMovies = $scheduledmovies->filter(function ($child) use($day) {
return $child->schedules()->toStructure()->filter(function ($item) use ($day) {
return ($item->day()->toDate('%F') == $day) && ($item->hour()->toDate('%H') >= 16) && ($item->hour()->toDate('%H') < 18);
})->count();
});
Here is the current result:
Now I’ll have to find a proper way to make each time slot clickable by users so the movie theater team will know who will be contributing as a volunteer