@lang('lang.class') @lang('lang.period') | @php $i=0; @endphp @foreach($sm_weekends as $sm_weekend){{@$sm_weekend->name}} {{date('d-M-y', strtotime($dates[$i++]))}} |
@endforeach
---|---|
{{@$class_time->period}} {{date('h:i A', strtotime(@$class_time->start_time)).' - '.date('h:i A', strtotime(@$class_time->end_time))}} |
@php
$j=0;
@endphp
@foreach($sm_weekends as $sm_weekend)
@php
$lesson_date=$dates[$j++];
@endphp
{{-- --}}
@if(@$class_time->is_break == 0)
@if(@$sm_weekend->is_weekend != 1)
@php
@$assinged_class_routine = App\SmClassRoutineUpdate::teacherAssingedClassRoutine(@$class_time->id, @$sm_weekend->id, $teacher_id);
@endphp
@if(@$assinged_class_routine == "")
@lang('lang.n_a')
@else
@php
$class_id=$assinged_class_routine->class_id;
$section_id=$assinged_class_routine->section_id;
@endphp
{{@$assinged_class_routine->subject->subject_name}}
class: {{@$assinged_class_routine->class->class_name}} section : {{@$assinged_class_routine->section->section_name}} Room:{{@$assinged_class_routine->classRoom->room_no}} @php $lessonPlan=DB::table('lesson_planners') ->where('lesson_date',$lesson_date)->first(); @endphp @if($lessonPlan) @else @endif @endif @else @lang('lang.weekend') @endif @endif |
@endforeach