@if($modal)

{{$schedule->group->title}} {{$schedule->time_from }} - {{$schedule->time_to}} ({{$duration}})

Teachers:

@if($schedule->teachers) @foreach ($schedule->group->teachers as $teacher) {{$teacher->name}} {{$teacher->last_name}} @endforeach @endif
@endif