{{--Written for css 2.1 support--}}

{{ $timetable->name}}

@if ($showDescription == true) @isset($timetable->description)

{{$timetable->description}}

@endisset @endif
{{--table heading which displays all the time slots--}} @foreach ($timeSlots as $timeSlot) @endforeach {{--creates a row for each day of the week--}} @foreach ($weekdays as $weekday) {{--displays the time slots for each day of the week--}} @foreach ($timeSlots as $timeSlot) @endforeach @endforeach

Time slots

Weekdays

{{$timeSlot->start_time}}
-
{{$timeSlot->stop_time}}

{{$weekday->name}}