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

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

@if(!is_null($section->teacher_id)){{$section->teacher->full_name}} @else Please Add Class Teacher @endif     {{$check_date}}
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
{{$st->student->roll_no}} {{$st->student->name}} @if($st->status == 'P') @else @endif
@endsection