@extends('layouts.app') @section('content')

Performance Review

{{ $performance->employee->full_name }} - {{ $performance->review_period }}

Back to Reviews @can('manage-performance', $company) @if($performance->status !== 'completed') Edit Review @endif @endcan
Review Information
Employee:
{{ $performance->employee->full_name }}
{{ $performance->employee->employee_id }} - {{ $performance->employee->position }}
Review Period:
{{ $performance->review_period }}
Period:
{{ $performance->period_start->format('F d, Y') }} - {{ $performance->period_end->format('F d, Y') }}
Review Type:
{{ ucwords(str_replace('_', ' ', $performance->review_type)) }}
Review Date:
{{ $performance->review_date->format('F d, Y') }}
Reviewer:
{{ $performance->reviewer->name }}
@if($performance->overall_rating)
Overall Rating
{{ number_format($performance->overall_rating, 1) }} /5.0
@for($i = 1; $i <= 5; $i++) @endfor
@if($performance->overall_rating >= 4.5) Excellent Performance @elseif($performance->overall_rating >= 3.5) Above Average Performance @elseif($performance->overall_rating >= 2.5) Average Performance @elseif($performance->overall_rating >= 1.5) Below Average Performance @else Poor Performance @endif
@endif @if($performance->kpi_scores && count($performance->kpi_scores) > 0)
KPI Scores
@foreach($performance->kpi_scores as $kpi) @if(isset($kpi['name']) && isset($kpi['score'])) @endif @endforeach
KPI Score Rating
{{ $kpi['name'] }} {{ $kpi['score'] }}/5
@for($i = 1; $i <= 5; $i++) @endfor
@endif @if(($performance->goals_achieved && count($performance->goals_achieved) > 0) || ($performance->goals_pending && count($performance->goals_pending) > 0))
Goals & Achievements
@if($performance->goals_achieved && count($performance->goals_achieved) > 0)
Goals Achieved
    @foreach($performance->goals_achieved as $goal) @if($goal)
  • {{ $goal }}
  • @endif @endforeach
@endif @if($performance->goals_pending && count($performance->goals_pending) > 0)
Goals Pending
    @foreach($performance->goals_pending as $goal) @if($goal)
  • {{ $goal }}
  • @endif @endforeach
@endif
@endif
Comments & Feedback
@if($performance->strengths)
Strengths

{{ $performance->strengths }}

@endif @if($performance->areas_for_improvement)
Areas for Improvement

{{ $performance->areas_for_improvement }}

@endif
@if($performance->manager_comments)
Manager Comments

{{ $performance->manager_comments }}

@endif @if($performance->employee_comments)
Employee Comments

{{ $performance->employee_comments }}

@endif
@if($performance->development_plan)
Development Plan

{{ $performance->development_plan }}

@endif @if($performance->training_recommendations && count($performance->training_recommendations) > 0)
Training Recommendations
    @foreach($performance->training_recommendations as $training) @if($training)
  • {{ $training }}
  • @endif @endforeach
@endif @if($performance->status === 'submitted' && auth()->user()->id === $performance->employee->user_id)
Action Required

Please review your performance evaluation and provide any comments before acknowledging.

@csrf
@endif
Review Status
@if($performance->status === 'draft')
Draft

Review is being prepared

@elseif($performance->status === 'submitted')
Submitted

Waiting for employee acknowledgment

@elseif($performance->status === 'acknowledged')
Acknowledged

Employee has acknowledged the review

@else
Completed

Review process is complete

@endif
Review Timeline
Review Created

Created by {{ $performance->reviewer->name }}

{{ $performance->created_at->format('M d, Y g:i A') }}
@if($performance->status !== 'draft')
Review Submitted

Sent to employee for acknowledgment

{{ $performance->updated_at->format('M d, Y g:i A') }}
@endif @if($performance->employee_acknowledged_at)
Employee Acknowledged

{{ $performance->employee->full_name }} acknowledged the review

{{ $performance->employee_acknowledged_at->format('M d, Y g:i A') }}
@endif @if($performance->status === 'completed')
Review Completed

Performance review cycle completed

{{ $performance->updated_at->format('M d, Y g:i A') }}
@endif
@push('styles') @endpush @endsection