@extends('layouts.app') @section('title', $posting->title) @section('content') {{-- Posting Info Card --}}

تفاصيل الوظيفة

المسمى الوظيفي
{{ $posting->title }}
نوع الوظيفة
{{ $posting->type ?? '—' }}
الموقع
{{ $posting->location ?? '—' }}
نطاق الراتب
@if($posting->salary_min && $posting->salary_max) {{ number_format($posting->salary_min) }} - {{ number_format($posting->salary_max) }} ر.س @elseif($posting->salary_range) {{ $posting->salary_range }} @else — @endif
الحالة
@if($posting->status === 'published' || $posting->status === 'open') منشورة @elseif($posting->status === 'draft') مسودة @elseif($posting->status === 'closed') مغلقة @else {{ $posting->status }} @endif
تاريخ النشر
{{ $posting->published_at ? \Carbon\Carbon::parse($posting->published_at)->format('Y-m-d') : '—' }}
تاريخ الإغلاق
{{ $posting->closing_date ? \Carbon\Carbon::parse($posting->closing_date)->format('Y-m-d') : '—' }}
@if($posting->description)
الوصف الوظيفي
{{ $posting->description }}
@endif @if($posting->requirements)
المتطلبات
{{ $posting->requirements }}
@endif
{{-- Applicant Status Pipeline --}}

مسار التوظيف

جديد ← فرز ← مقابلة ← عرض ← تعيين | مرفوض
{{-- Applicants Table --}}

المتقدمون ({{ $applicants->count() }})

@if($applicants->count() > 0)
@foreach($applicants as $index => $applicant) {{-- Update Applicant Modal --}} @endforeach
# الاسم البريد الهاتف الحالة التقييم ملاحظات إجراءات
{{ $index + 1 }} {{ $applicant->name }} {{ $applicant->email ?? '—' }} {{ $applicant->phone ?? '—' }} @switch($applicant->status) @case('new') جديد @break @case('screening') فرز @break @case('interview') مقابلة @break @case('offered') عرض @break @case('hired') تم التعيين @break @case('rejected') مرفوض @break @default {{ $applicant->status }} @endswitch @php $rating = $applicant->rating ?? 0; @endphp @for($s = 1; $s <= 5; $s++) @if($s <= $rating) ★ @else ★ @endif @endfor {{ $applicant->notes ? \Illuminate\Support\Str::limit($applicant->notes, 50) : '—' }}
@else

لا يوجد متقدمون لهذه الوظيفة بعد

@endif
@endsection