@extends('admin.include.main') @section('content')

Attendance Details for Class {{$class->class_name}} {{$section->section_name}}

{{$section->teacher->full_name}}     {{Carbon::today()->toDateString()}}
Absent ({{$absent->count()}})
@if($absent->isEmpty()) No Absent Today @endif @foreach($absent as $ab) {{$ab->student->name.","}} @endforeach
Present({{$attendance->count() - $absent->count()}})

Detail List Shown Below

@foreach($attendance as $st) @endforeach
Roll no. Student Name Attendance Change
{{$st->student->roll_no}} {{$st->student->name}} @if($st->status == 'P') @else @endif
@endsection