@extends('admin.layouts.app') @section('title', 'Attendance Report') @section('breadcrumb') @endsection @section('content')
@if(request()->filled('class_id'))
Attendance Analytics
@if($data->count() > 0)
@foreach($data as $row) @endforeach
Student Code / Roll No Total Classes Attended Percentage Status
{{ $row->student_name }}
{{ $row->student_code }}
Roll: {{ $row->roll_no }}
{{ $row->total }} {{ $row->attended }} @if($row->pct < 75) {{ $row->pct }}% @elseif($row->pct < 85) {{ $row->pct }}% @else {{ $row->pct }}% @endif
@if($row->pct < 75) Defaulter @else Eligible @endif
@else
No attendance records found

Try adjusting your date range filters.

@endif
@else
Select a class to generate report

Use the filters above to view attendance analytics.

@endif @endsection @push('styles') @endpush