@extends('layouts.app') @section('title', 'دورات التقييم - DOTS HR Pro') @push('styles') @endpush @section('content') @php $cycles = $cycles ?? collect(); @endphp @if(session('success'))
{{ session('success') }}
@endif
@if($cycles->count() > 0)
@foreach($cycles as $index => $cycle) @php $completion = $cycle->completion ?? $cycle->completion_percentage ?? 0; @endphp @endforeach
# اسم الدورة تاريخ البداية تاريخ النهاية الحالة نسبة الإنجاز الإجراءات
{{ $index + 1 }} {{ $cycle->name ?? '-' }} {{ $cycle->start_date ?? '-' }} {{ $cycle->end_date ?? '-' }} @if(($cycle->status ?? '') === 'active') نشطة @elseif(($cycle->status ?? '') === 'completed') مكتملة @elseif(($cycle->status ?? '') === 'draft') مسودة @elseif(($cycle->status ?? '') === 'cancelled') ملغاة @else {{ $cycle->status ?? '-' }} @endif
{{ $completion }}%
@if(Route::has('performance-management.cycles.show')) @endif @if(Route::has('performance-management.cycles.edit')) @endif
@if(method_exists($cycles, 'links'))
{{ $cycles->links() }}
@endif @else

لا توجد دورات تقييم

@endif
@endsection