@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $isUniversity = $tenant->institution_type === 'university'; $navGroups = \App\Support\Navigation\StudentNav::groups('evaluations'); @endphp Back to Cycles @if($teachers->isEmpty())
No teachers assigned to your section yet.
@else
@foreach($teachers as $row) @php $score = $submittedScoresByTeacher->get($row['teacher']->id); @endphp

{{ $loop->iteration }}.{{ $row['teacher']->name }}

{{ $row['subjects']->implode(', ') }}

@if($score !== null)
Rated ยท {{ rtrim(rtrim(number_format($score, 1), '0'), '.') }} / 10

{{ round(($score / \App\Models\EvaluationParameter::MAX_SCORE) * 100) }}%

@else Not rated yet @endif
@endforeach
@endif