@extends('../student_layout/' . $layout)
@section('subhead')
Atarud MIS - {{ Auth::guard('student')->user()->name }} Student Attendance Class Base Report
@endsection
@section('subcontent')
{{ Auth::guard('student')->user()->name }} Exams Report
{{--
--}}
@if(isset($studentCourses))
Student Exams
# |
Course |
Group |
Exam |
Score |
Status |
Action |
@foreach($studentCourses as $row)
@php
$course = App\Models\Course::where('id',$row->course_id)
// ->where('student_id', Auth::guard('student')->user()->id)
// ->where('status',1)
// // ->whereBetween('date', [$date, $date2])
->first();
$exam = App\Models\Exam::where('id',$row->exam_id)
// ->where('status',0)
// ->whereBetween('date', [$date, $date2])
->first();
$program = App\Models\Program::where('id',$row->program_id)->first();
$courseName = $course != null ? $course->title : '';
$examName = $exam != null ? $exam->title : '';
@endphp
{{++$loop->index}} |
{{$courseName}} |
{{$row->group_id}} |
{{$examName}} |
{{$row->score}} |
{{$row->status}} |
@if($row->status != 'Pending')
Show
@endif
|
@endforeach
@endif
@endsection
@section('script')
@endsection