Logo

{{ $course->acyname }} {{ $course->cname }} ({{ $course->lshort_name }})
{{ $course->ttname }}

Student Name: {{ $student_info->first_name }} {{ $student_info->middle_name }} {{ $student_info->last_name }}

User ID: {{ $student_info->username }}

Enrollment Method: {{ $enrollment_method }}

Enrollment Date: {{ date('Y-m-d', strtotime($course->enrollment_date)) }}

Attendance

@if ($meetings->count() == 0)

No data available

@else @foreach ($meetings as $key => $meeting) @endforeach
# 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
@endif

Grades

@foreach ($groups->where('gid', $group_id) as $key => $group)
@foreach ($topics as $topic)
{{ $topic->name }}
@if ($hyper_quizzes_titles->where('topic_id', $topic->id)->count() > 0) @foreach ($hyper_quizzes_grades->where('topic_id', $topic->id) as $quiz) @endforeach
# 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
@else
No quizzes found for this topic.
@endif @endforeach
@endforeach