@extends('layouts.admin') @section('content')
| Student | Group | @foreach ($meetings as $meeting){{$meeting->mstartdate}} / ( {{date('h:i A', strtotime($meeting->mstarttime))}} ) | @endforeach|
|---|---|---|---|
| {{$student->first_name.' '.$student->middle_name.' '.$student->last_name}} | @foreach ($fav_groups as $group) @if ($group->user_id == $student->user_id) {{$group->gname}} @endif @endforeach | @foreach ($meetings as $meeting) @if (in_array($student->user_id,$meeting->attendants->pluck('id')->toArray())){{-- @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).