Student Name: {{ $student_info->first_name }} {{ $student_info->middle_name }} {{ $student_info->last_name }}
User ID: {{ $student_info->username }}
Enrollment Date: {{ date('Y-m-d', strtotime($course->enrollment_date)) }}
Attendance
@if ($meetings->count() == 0)No data available
| # | Class | Date | Attendance |
|---|---|---|---|
| {{ $key + 1 }} | {{ $student_info->gname }} | {{ date('d-m-Y', strtotime($meeting->mstartdate)) }} / {{ date('h:i A', strtotime($meeting->mstarttime)) }} | @if (in_array($meeting->mid, $attendants->pluck('mid')->toArray())) Present @if ($meeting->is_refunded) Refunded @endif @else Absent @endif |
Grades
@foreach ($groups->where('gid', $group_id) as $key => $group)| # | Quiz | Grade | Feedback | Note |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $quiz->title }} | @if (in_array($student_id, $quiz->attempts_quiz->pluck('id')->toArray())) {{ $quiz->attempts_quiz->where('id', $student_id)->first()->pivot->grade }} / {{ $quiz->attempts_quiz->where('id', $student_id)->first()->pivot->points }} ({{ $quiz->attempts_quiz->where('id', $student_id)->first()->pivot->ratio }}%) @else - @endif | {!! $hyper_quizzes_features->where('topic_id', $topic->id)->where('quiz_id', $quiz->id)->first()->feedback ?? 'No Feedback' !!} | @if($hyper_quizzes_features->where('topic_id', $topic->id)->where('quiz_id', $quiz->id)->first()->note == '') No Notes @else {!! $hyper_quizzes_features->where('topic_id', $topic->id)->where('quiz_id', $quiz->id)->first()->note ?? 'No Notes' !!} @endif |