@extends('../layout/' . $layout)
@section('subhead')
Atarud MIS - Student Attendance Daily Report
@endsection
@section('subcontent')
Student Attendance Daily Report
@if(isset($att))
Student Daily Attendance
Report
# |
ID |
Student Name |
Father Name |
Status |
@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
{{++$loop->index}} |
{{$student->id}} |
{{$student->name}} |
{{$student->father_name}} |
@php echo(student_attendance_status($row->status)) @endphp
|
@endforeach
@foreach ($data['total'] as $row )
@php echo(student_attendance_status($row->status)) @endphp |
{{ $row->total }} |
@endforeach
@endif
@endsection
@section('script')
@endsection