@extends('layouts.student') @section('content')
{{$courses->has_label ? '( '.$courses->label.' )' : ''}} {{$courses->cname}} ({{$courses->lshort_name}})
{{-- Attendance --}}
@php $lesson = 0; @endphp @foreach ($meetings as $meeting) @endforeach @php $attend = 0; @endphp @foreach ($meetings as $meeting) @if (in_array($meeting->mid,$attendants->pluck('mid')->toArray())) @else @endif @endforeach
id{{$meeting->mstartdate}} / ( {{date('h:i A', strtotime($meeting->mstarttime))}} ) @if ($meeting->is_extra) Extra @endif
@php echo ++$attend; @endphp @if ($meeting->is_refunded) @endif
@endsection