@extends('layouts.teacher') @section('content')
| Student | {{--Enrollment Method | --}}Group {{-- --}} | @foreach ($meeting_attendants as $meeting){{$meeting->mstartdate}} / ( {{date('h:i A', strtotime($meeting->mstarttime))}} ) @if ($meeting->is_extra) Extra @endif | @endforeach|
|---|---|---|---|---|
| {{$student->first_name.' '.$student->middle_name.' '.$student->last_name}} | {{--{{$student->fees_by_lesson ? 'By Lesson':'By Course'}} | --}}@foreach ($fav_groups as $group) @if ($group->user_id == $student->user_id) {{$group->gname}} @endif @endforeach | @foreach ($meeting_attendants as $meeting) @if (in_array($student->user_id,$meeting->attendants->pluck('id')->toArray())){{-- {{$meeting->attendants->where('id',$student->id)->first()}} --}} @if ($meeting->attendants->where('id',$student->user_id)->first()->pivot->deleted_at) Deleted @endif @if ($meeting->attendants->where('id',$student->user_id)->first()->pivot->is_refunded) @endif @if ($meeting->attendants->where('id',$student->user_id)->first()->pivot->is_refunded_after_post) @endif | @else{{$meeting->mstatus == 'Canceled' ? 'Canceled':''}} | @endif @endforeach
Displaying {{$attendance->count()}} of {{ $attendance->total() }} attendance(s).