Student Evaluation Report

Generated on {{ now()->format('d F Y, h:i A') }}
{{-- Student Information --}}

Student Information

Name
: {{ $evaluation->studentDisplayName() }}
Student ID
: {{ $evaluation->student?->user_id ?? 'Deleted account' }}
Email
: {{ $evaluation->student?->email ?? 'Deleted account' }}
Contact
: {{ $evaluation->student?->contact ?? 'Deleted account' }}
Program
: {{ $evaluation->student?->program ?? 'Deleted account' }}
{{-- Evaluation Details --}}

Evaluation Details

@php $maxTotal = $evaluation->scores->sum(fn($s) => $s->rubric->max_score); @endphp @foreach ($evaluation->scores as $i => $score) @endforeach
No Rubric Max Score Score Percentage
{{ $i + 1 }} {{ $score->rubric->rubric_name }} {{ $score->rubric->max_score }} {{ $score->score }} {{ $maxTotal > 0 ? round(($score->score / $maxTotal) * 100) : 0 }}%
Total Score {{ $evaluation->total_score }} / {{ $maxTotal }} {{ $maxTotal > 0 ? round(($evaluation->total_score / $maxTotal) * 100) : 0 }}%
{{-- Supervisor Info --}}

Evaluation By

Supervisor
: {{ $evaluation->supervisorDisplayName() }}
Date Evaluated
: {{ $evaluation->created_at->format('d F Y') }}
@if($evaluation->updated_at->gt($evaluation->created_at))
Last Updated
: {{ $evaluation->updated_at->format('d F Y') }}
@endif