@extends('layouts.app') @section('title', 'التوظيف') @push('styles') @endpush @section('content') {{-- Stats Row --}}

{{ $stats['total'] }}

إجمالي الطلبات

{{ $stats['interviewing'] }}

في مرحلة المقابلة

{{ $stats['hired'] }}

تم التوظيف

{{ $stats['open'] }}

مفتوحة

{{-- Add Form Modal --}}

إضافة متقدم جديد

@csrf
{{-- Main Table --}}
@forelse($recruitments as $index => $recruitment) @empty @endforelse
# المسمى الوظيفي اسم المتقدم القسم المرحلة الحالة تاريخ التقديم إجراءات
{{ $recruitments->firstItem() + $index }} {{ $recruitment->job_title }} {{ $recruitment->applicant_name }} {{ $recruitment->department ?? '-' }} @php $stageLabels = [ 'applied' => 'تقديم', 'screening' => 'فرز', 'interview' => 'مقابلة', 'offer' => 'عرض', 'hired' => 'توظيف', ]; $stageBadges = [ 'applied' => 'badge-secondary', 'screening' => 'badge-info', 'interview' => 'badge-warning', 'offer' => 'badge-success', 'hired' => 'badge-success', ]; @endphp {{ $stageLabels[$recruitment->stage] ?? $recruitment->stage }} @php $statusLabels = [ 'open' => 'مفتوح', 'hired' => 'تم التوظيف', 'rejected' => 'مرفوض', 'closed' => 'مغلق', ]; $statusBadges = [ 'open' => 'badge-info', 'hired' => 'badge-success', 'rejected' => 'badge-danger', 'closed' => 'badge-secondary', ]; @endphp {{ $statusLabels[$recruitment->status] ?? $recruitment->status }} {{ $recruitment->applied_date ? date('Y-m-d', strtotime($recruitment->applied_date)) : date('Y-m-d', strtotime($recruitment->created_at)) }}
@csrf @method('DELETE')

لا توجد طلبات توظيف حالياً

{{ $recruitments->links() }}
@endsection @push('scripts') @endpush