@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}
@csrf

{{ ___('common.Filtering') }}

@error('class')
{{ $message }}
@enderror
@error('section')
{{ $message }}
@enderror
@error('date')
{{ $message }}
@enderror
@isset($data['students'])

{{ $data['title'] }}

@if (@$data['status'] == 1) {{ ___('attendance.Attendance already collected, You can edit record') }} @endif
@csrf
attendance == 0 && @$data['status'] == 1) ? 'checked':'' }}>
@forelse ($data['students'] as $item) @empty @endforelse
{{ ___('student_info.Student Name') }} {{ ___('student_info.roll_no') }} {{ ___('student_info.admission_no') }} {{ ___('student_info.class') }} ({{ ___('student_info.section') }}) {{ ___('attendance.Attendance') }} {{ ___('attendance.Note') }}
{{ @$item->student->first_name }} {{ @$item->student->last_name }} {{ @$item->roll }} {{ @$item->student->admission_no }} {{ @$item->class->name }} ({{ @$item->section->name }})
attendance == App\Enums\AttendanceType::PRESENT ? 'checked':'' }}/>
attendance == App\Enums\AttendanceType::LATE ? 'checked':'' }}/>
attendance == App\Enums\AttendanceType::ABSENT ? 'checked':'' }}{{ @$data['status'] == 1 && @$item->attendance == null ? 'checked':'' }}{{ @$data['status'] == 0 ? 'checked':'' }}/>
attendance == App\Enums\AttendanceType::HALFDAY ? 'checked':'' }}/>

{{ ___('common.No data available') }}

{{ ___('common.Please add new entity regarding this table') }}

@if (hasPermission('attendance_create'))
@endif
@endif
@endsection @push('script') @include('backend.partials.delete-ajax') @endpush