@extends('layouts.app') @section('title', 'Değerlendirme Formu') @section('content') @php use App\Support\EvaluationHelper; $statusLabel = EvaluationHelper::statusLabel($status); $statusClass = EvaluationHelper::statusBadgeClass($status); @endphp

{{ $assignment->employee_name }}

{{ $assignment->period_name }} | {{ $levelLabel }}

{{ $statusLabel }}
@if (session('saved'))
Taslak kaydedildi. İstediğiniz zaman devam edebilirsiniz.
@elseif (session('submitted'))
Değerlendirme tamamlandı ve kilitlendi.
@elseif (session('error') === 'missing_answers')
Tüm sorular cevaplanmadan tamamlanamaz.
@elseif (session('error'))
{{ session('error') }}
@endif @if ($blocked)
1. amir değerlendirmeyi tamamlamadan bu atamayı başlatamazsınız.
@endif @if ($total === 0)
Bu atama için aktif soru seti bulunamadı. Yöneticinizle görüşün.
@endif
Seviye: {{ $levelLabel }} İlerleme: {{ $answered }} / {{ $total }} Durum: {{ $statusLabel }}
İlerleme {{ $answered }} / {{ $total }}
Puanlama ölçeği: Çok iyi (5), İyi (4), Yeterli (3), Geliştirilebilir (2), Yetersiz (1)
@csrf @php $questionCounter = 0; $currentSet = null; @endphp @foreach ($questions as $question) @php $qid = (int) $question['id']; $savedScore = $answers[$qid] ?? null; $setName = $question['set_name'] ?: 'Genel'; $isNewSet = $setName !== $currentSet; @endphp @if ($isNewSet) @if ($currentSet !== null) @endif @php $currentSet = $setName; @endphp
Soru Seti: {{ $currentSet }}
@endif @php $questionCounter++; @endphp
Soru {{ $questionCounter }}
{{ $question['question_text'] }}
1-5 arasında puanlayın
@for ($score = 1; $score <= 5; $score++) @php $inputId = 'q' . $qid . '_' . $score; @endphp @endfor
@endforeach @if ($currentSet !== null)
@endif
Listeye dön
@endsection