@extends('backend.master') @section('title') {{ ___('common.Online Class Routine 2023') }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}
@csrf

{{ ___('common.Filtering') }}

@error('class')
{{ $message }}
@enderror
@error('section')
{{ $message }}
@enderror
@if (@$data['result']) @if (@$data['result']->count() > 0)
{{___('common.PDF Download')}}

{{ setting('application_name') }}

{{ setting('address') }}

@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
{{___('report.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

--}}

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

@endif @endforeach
@else

{{ ___('common.No data available') }}

{{ ___('common.Please add new entity regarding this table') }}

@endif @endif
@endsection