@php use Carbon\Carbon; @endphp

কর্মী মূল্যায়নপত্র

মূল্যায়ন কাল: {{ $instance->evaluation_period_from?->format('d/m/Y') ?? '................' }} হতে {{ $instance->evaluation_period_to?->format('d/m/Y') ?? '................' }} পদবী: {{ $staff->designation?->name ?? '—' }}
কর্মীর নাম: {{ $staff->user?->name ?? '—' }} @if($staff->user?->id)(ID: {{ $staff->user->id }})@endif শিক্ষাগত যোগ্যতা: {{ $education }}
সংস্থায় যোগদানের তারিখ: {{ $staff->joing_date ? Carbon::parse($staff->joing_date)->format('d/m/Y') : '—' }} বর্তমান কর্মস্থল: {{ $staff->warehouse?->name ?? '—' }}
বিভাগ: {{ $department ?? '—' }} চক্র: {{ $instance->cycle?->name ?? '—' }} | তৈরি: {{ Carbon::now()->format('d/m/Y') }}
@foreach($bands as $b) @endforeach @foreach($kpiRows as $row) @foreach($bands as $b) @endforeach @endforeach
মূল্যায়নের সূচক{{ $b['label_bn'] }}
({{ $b['min'] }}–{{ $b['max'] }})
মোট
{{ $row['title'] }} @if($row['score'] !== null && $row['band'] && (int) $row['band']['min'] === (int) $b['min']) ✓ @endif {{ $row['score'] !== null ? (int) $row['score'] : '' }}
মোট প্রাপ্ত স্কোর {{ number_format($rawSum, 0) }}
মোট স্কোর {{ number_format($maxRaw, 0) }}
শতকরা অর্জিত স্কোর {{ number_format($percent, 2) }}%
সার্বিক মন্তব্য

ক) কর্মীর তিনটি ভাল দিক:

  1. {{ $instance->strength_1 ?: '—' }}
  2. {{ $instance->strength_2 ?: '—' }}
  3. {{ $instance->strength_3 ?: '—' }}

খ) কর্মীর তিনটি দুর্বলতা:

  1. {{ $instance->weakness_1 ?: '—' }}
  2. {{ $instance->weakness_2 ?: '—' }}
  3. {{ $instance->weakness_3 ?: '—' }}
সুপারিশ
@foreach($recommendationLabels as $key => $label)
{{ $label }}
@endforeach
স্বাক্ষর
@foreach(['self_assessment', 'primary_evaluation', 'review_calibration', 'final_approval'] as $stageKey) @php $sub = $submissions->firstWhere('stage', $stageKey); $evalName = $stageKey === 'self_assessment' ? ($staff->user?->name ?? '—') : ($sub?->evaluator?->user?->name ?? '—'); $evalDesig = $stageKey === 'self_assessment' ? ($staff->designation?->name ?? '—') : ($sub?->evaluator?->designation?->name ?? '—'); $evalBranch = $stageKey === 'self_assessment' ? ($staff->warehouse?->name ?? '—') : ($sub?->evaluator?->warehouse?->name ?? '—'); $comment = $sub?->comments ?? ''; @endphp @endforeach
ধাপ নাম পদবী শাখা / এলাকা তারিখ মন্তব্য / স্বাক্ষর
{{ $stageLabels[$stageKey] ?? $stageKey }} {{ $evalName }} {{ $evalDesig }} {{ $evalBranch }} {{ $sub?->submitted_at?->format('d/m/Y') ?? '' }} @if($comment) {{ \Illuminate\Support\Str::limit($comment, 100) }} @else
@endif