@extends('layouts.app') @section('title', $course->title ?? 'تفاصيل الدورة') @section('content') @push('styles') @endpush

معلومات الدورة

{{ $course->title ?? '-' }}

{{ $course->trainer ?? '-' }}

{{ $course->start_date ?? '-' }}

{{ $course->end_date ?? '-' }}

{{ $course->location ?? '-' }}

{{ $course->max_seats ?? '-' }}

{{ isset($course->is_mandatory) && $course->is_mandatory ? 'نعم' : 'لا' }}

@if(isset($course->description) && $course->description)

{{ $course->description }}

@endif

المسجلون ({{ $enrollments->count() }})

@forelse($enrollments as $i => $e) @empty @endforelse
#الموظفتاريخ التسجيلالحالة
{{ $i + 1 }} {{ $e->employee_name ?? 'موظف #' . ($e->employee_id ?? $e->id) }} {{ $e->enrolled_at ?? $e->created_at ?? '-' }} @if(($e->status ?? '') == 'completed') مكتمل @elseif(($e->status ?? '') == 'in_progress') قيد التنفيذ @elseif(($e->status ?? '') == 'cancelled') ملغي @else مسجل @endif

لا يوجد مسجلون في هذه الدورة

@endsection