@extends('employee.layouts.app') @section('title', get_setting('site_name').' | '.__('My performance appraisals')) @section('content')

{{ __('My performance appraisals') }}

{{ __('View your reviews and complete evaluations assigned to you.') }}

@if(\App\Models\PerformanceAppraisalSetting::query()->value('feature_360_enabled')) {{ __('360° feedback') }} @endif
@if (session()->has('message'))
{{ session('message') }}
@endif
{{ (int) ($stats->mine_total ?? 0) }}
{{ __('My appraisals') }}
{{ (int) ($stats->mine_active ?? 0) }}
{{ __('In progress') }}
{{ (int) ($stats->pending_evaluate ?? 0) }}
{{ __('Awaiting you') }}
@if($pendingEvaluations->total() > 0)
{{ __('Awaiting your evaluation') }}
{{ $pendingEvaluations->total() }}
@foreach($pendingEvaluations as $r) @endforeach
# {{ __('Employee') }} {{ __('Cycle') }} {{ __('Status') }} {{ __('Due') }} {{ __('Action') }}
#{{ $r->id }} {{ $r->staff?->user?->name ?? '—' }} @if($r->staff?->warehouse?->name) {{ $r->staff->warehouse->name }} @endif {{ $r->cycle?->name ?? '—' }} @include('partials.appraisal_status_badge', [ 'label' => $r->listDisplayStatus($paperWorkflow), 'variant' => $r->listDisplayStatusVariant(), ]) @if($r->due_at) {{ $r->due_at->format('d/m/Y') }} @else @endif {{ __('Evaluate') }}
@if($pendingEvaluations->hasPages()) @endif
@endif
{{ __('My appraisals (as employee)') }}
@forelse($myAppraisals as $r) @empty @endforelse
# {{ __('Cycle') }} {{ __('Status') }} {{ __('Due') }} {{ __('Score') }} {{ __('Action') }}
#{{ $r->id }}
{{ $r->cycle?->name ?? '—' }}
@if($r->evaluationForm?->title) {{ $r->evaluationForm->title }} @endif
@include('partials.appraisal_status_badge', [ 'label' => $r->listDisplayStatus($paperWorkflow), 'variant' => $r->listDisplayStatusVariant(), ]) @if($r->due_at) {{ $r->due_at->format('d/m/Y') }} @else @endif {{ $r->final_total_score !== null ? number_format((float) $r->final_total_score, 2).'%' : '—' }} {{ __('Open') }}
{{ __('No instances yet.') }}
@if($myAppraisals->hasPages()) @endif
@endsection