Attendance Report of - {{ $student->name }}({{ $student->nick_name }})
School : {{ $student->school->name }} Class: {{ $student->classInfo->name }} Batch: {{ $student->batch->name }} Mobile: {{ $student->mobile }}
@php($totalPresent = 0) @php($totalAbsent = 0) @foreach($attendances as $attendance) @if($attendance->status == 1) @php($totalPresent++) @else @php($totalAbsent++) @endif @endforeach
Sl. Date Input Date & Time Status
{{ $loop->iteration }} {{ dateFormat($attendance->date,'d-M-Y') }} {{ dateFormat($attendance->created_at,'d-M-Y h:i:s A') }} {{ $attendance->status == 1 ? 'Present' : 'Absent' }}
Total Class : {{ $totalPresent+$totalAbsent }} Present : {{ $totalPresent }} Absent : {{ $totalAbsent }}