@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(); $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 Name Invoice Id Status
{{++$loop->index}} {{$student->id}} {{$student->name}} {{$student->father_name}} {{$invoice_id}} {{$row->status}}
@endif
@include('../pages/exam/create') @endsection @section('script') @endsection