@extends('layouts.app') @section('title', 'My Appraisals') @section('page-title', 'My Appraisals') @section('content')
{{-- Current tier banner --}} @if($communicator->tier)
Current Tier
{{ $communicator->tier->name }}
{{ $communicator->tier->description }}
@endif @forelse($appraisals as $a)
{{ $a->quarter_label }}
@if($a->total_score !== null)
Score: {{ $a->total_score }}/50 ({{ $a->score_percentage }}%)
@endif @if($a->tierBefore && $a->tierAfter)
@if($a->tierAfter->level > $a->tierBefore->level) ↑ Promoted to @elseif($a->tierAfter->level < $a->tierBefore->level) ↓ Moved to @else Maintained at @endif {{ $a->tierAfter->name }}
@endif @if($a->notes)
{{ $a->notes }}
@endif
{{ ucfirst($a->status) }}
{{-- Score breakdown if completed --}} @if($a->status === 'completed' && $a->scores->isNotEmpty())
@foreach($a->scores as $score)
{{ $score->criteria }}
{{ $score->score }}
@endforeach
@endif
@empty
No appraisals on record yet. Appraisals are conducted quarterly.
@endforelse
@endsection