{{ setting('address') }}
{{___('common.Class (Section)')}} : {{$data['result'][0]->class->name}} ({{$data['result'][0]->section->name}})
@endif{{___('common.Day/Time')}} | @foreach ($data['time'] as $item){{ $item->timeSchedule->start_time }} - {{ $item->timeSchedule->end_time }} | @endforeach||
---|---|---|---|
{{ ___($item) }} | @if (isset($data['result'][$n])) @if ($data['result'][$n]->day == $key) @foreach ($data['time'] as $key=>$item0)
@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 }} |
@endforeach
@php
++$n;
@endphp
@else
@foreach ($data['time'] as $item)
@endforeach @endif @else @foreach ($data['time'] as $item) | @endforeach @endif |