{{ setting('application_name') }}

{{ setting('address') }}

@if ($data['result'])

{{___('common.Class (Section)')}} : {{$data['result'][0]->class->name}} ({{$data['result'][0]->section->name}})

@endif
@foreach ($data['time'] as $item) @endforeach @php $n = 0; @endphp @foreach (\Config::get('site.days') as $key=>$item) @if (isset($data['result'][$n])) @if ($data['result'][$n]->day == $key) @foreach ($data['time'] as $key=>$item0) @endforeach @php ++$n; @endphp @else @foreach ($data['time'] as $item) @endforeach @endif @else @foreach ($data['time'] as $item) @endforeach @endif @endforeach
{{___('common.Day/Time')}}{{ $item->timeSchedule->start_time }} - {{ $item->timeSchedule->end_time }}
{{ ___($item) }} @foreach ($data['result'][$n]->classRoutineChildren as $item) @if ($item->time_schedule_id == $item0->time_schedule_id)

{{ $item->subject->name }}

{{--

@foreach ($data['result'][$n]->TeacherName->subjectTeacher as $item2) @if ($item2->subject_id == $item->subject->id) {{$item2->teacher->first_name}} {{$item2->teacher->last_name}} @endif @endforeach

--}}

{{___('common.Room No')}}: {{ $item->classRoom->room_no }}

@endif @endforeach