@extends('../layout/' . $layout)
@section('subhead')
Atarud MIS - Student Attendance Monthly Report
@endsection
@section('subcontent')
Student Attendance Monthly Report
@if(isset($students))
Student Monthly Attendance
Report
Program: {{$data['program']->title}} Semester: {{$data['semester']->name}}
Section: {{$data['section']->name}} Date: {{$data['date']}}
# |
ID |
Student Name |
Invoice_id |
1 |
Present |
Absent |
Leave |
Trady |
@foreach($students as $row)
@php
$invoice = App\Models\Invoice::where('student_id', $row->student_id)
->where('section_id',$row->course_id)
->first();
$student = App\Models\Student::where('id', $row->student_id)->first();
$invoice_id = $invoice != null ? $invoice->id: '';
@endphp
{{$loop->index}} |
{{$row->student_id}} |
{{$student != null ? $student->name : ''}} |
{{$invoice_id}} |