@extends('../layout/' . $layout) @section('subhead') Atarud MIS - Student Attendance Daily Report @endsection @section('subcontent')

Student Attendance Daily Report

@csrf @method('get')
Select Program Select Semester Select Section Select Course Action
@if(isset($att))

Student Daily Attendance Report

Program: {{$data['program']->title}}     Semester: {{$data['semester']->name}}     Section: {{$data['section']->name}}     Date: {{$data['date']}}

{{-- --}} @foreach($att as $row) @php $student = App\Models\Student::where('id', $row->student_id)->first(); if($student == null) continue; $invoice = App\Models\Invoice::where('student_id', $student->student_id)->where('section_id', $data['course']->id)->first(); $invoice_id = $invoice != null ? $invoice->id: ''; @endphp {{-- --}} @endforeach
# ID Student Name Father NameInvoice IdStatus
{{++$loop->index}} {{$student->id}} {{$student->name}} {{$student->father_name}}{{$invoice_id}} @php echo(student_attendance_status($row->status)) @endphp
@foreach ($data['total'] as $row ) @endforeach
@php echo(student_attendance_status($row->status)) @endphp {{ $row->total }}
@endif
@include('../pages/exam/create') @endsection @section('script') @endsection