{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title', 'GAS LMS | Dashboard') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', [ 'items' => ['Student report' => route('teacher.course.report.index', $coffid)], ]) @endsection {{-- Content --}} @section('content')
image
{{ $course_offering->cname }} {{ $course_offering->lshort_name }}
{{ $course_offering->acyname }}
Session
{{ $course_offering->ttname }}
Teaching team
Student Name

{{ $student_info->first_name }} {{ $student_info->middle_name }} {{ $student_info->last_name }}

Student Email

{{ $student_info->email }}

User ID
{{ $student_info->username }}
Phone
{{ $student_info->phone }}
{{--
Parent Phone
{{ $student_info->parent_phone }}
--}}
{{--

Grade Statistics

# Total Graded Missed Percentage
- {{ $total }} {{ $graded }} {{ $missed }} {{ round(($ratio * 100), 2) }}
--}}

Grade Book

@forelse ( $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) @if (isset($hyper_quizzes_titles)) @foreach ($hyper_quizzes_titles->where('topic_id',$topic->id) as $item) @endforeach @endif @if (($hyper_quizzes_titles != null && count($hyper_quizzes_titles) > 0)) @if (isset($hyper_quizzes_grades)) @foreach ($hyper_quizzes_grades->where('topic_id',$topic->id) as $quiz) @if (in_array($student_id, $quiz->attempts_quiz->pluck('id')->toArray())) @else @endif @endforeach @endif @endif
# {{ Str::limit($item->title, 25, $end = '...') }}
{{ ++$key }} @if ($quiz->attempts_quiz->where('id', $student_id)->first()->pivot->attempts_remainder == $quiz->attempts) Absent @elseif ($quiz->attempts_quiz->where('id', $student_id)->first()->pivot->attempts_remainder < $quiz->attempts) @if ($quiz->attempts_quiz->where('id', $student_id)->first()->pivot->is_graded == 0) {{ $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 . ' % )' }} Not Graded @else @if ($quiz->attempts_quiz->where('id', $student_id)->first()->pivot->is_graded == 1) {{ $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 . ' % )' }} Graded @else {{ $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 . ' % )' }} Turned in @endif @endif @else '' @endif -
@else

No data been found

@endif @endforeach
@empty

No data been found

@endforelse

Attendance

@foreach ($meetings as $key => $meeting) @php $lesson = 0; @endphp @if (in_array($meeting->mid, $attendants->pluck('mid')->toArray())) @else @endif @endforeach
# Title Date Attended
{{ ++$key }} {{ $meeting->mtitle }} {{ date('d-m-Y', strtotime($meeting->mstartdate)) }} / ( {{ date('h:i A', strtotime($meeting->mstarttime)) }} ) @if ($meeting->is_extra) Extra @endif @if ($meeting->is_refunded) @endif
{{--

Attendance Extra

@foreach ($meetings_extra as $key => $meeting) @php $lesson = 0; @endphp @if (in_array($meeting->mid, $attendants->pluck('mid')->toArray())) @else @endif @endforeach
# Title Date Attended
{{ ++$key }} {{ $meeting->mtitle }} {{ date('d-m-Y', strtotime($meeting->mstartdate)) }} / ( {{ date('h:i A', strtotime($meeting->mstarttime)) }} ) @if ($meeting->is_extra) Extra @endif @if ($meeting->is_refunded) @endif
--}}
{{--

Comments

@forelse ($comments as $comment)
Added at {{ date('Y-m-d',strtotime($comment->created_at)) }}

{{ $comment->comment }}

@empty

You have added no comments, yet!

@endforelse
--}} {{-- Export pdf modal --}} @endsection @section('js') {{-- --}} {{-- copy to clipboard --}} {{-- Export pdf --}} @endsection