@extends('layouts.app') @section('title', 'خط سير المتقدمين') @section('content') @push('styles') @endpush

{{ $stats['total'] ?? 0 }}

الإجمالي

{{ $stats['new'] ?? 0 }}

جديد

{{ $stats['hired'] ?? 0 }}

تم التوظيف

{{ $stats['rejected'] ?? 0 }}

مرفوض

@foreach(['new'=>'جديد','screening'=>'فرز','interview'=>'مقابلة','offered'=>'عرض','hired'=>'تم التوظيف','rejected'=>'مرفوض'] as $status => $label)

{{ $label }} {{ count($applicants[$status] ?? []) }}

@forelse($applicants[$status] ?? [] as $a)

{{ $a->name ?? $a->first_name ?? ($a->email ?? 'متقدم #' . $a->id) }}

{{ $a->job_title ?? '' }}

@if(isset($a->rating) && $a->rating)
@for($s=1;$s<=5;$s++) @endfor
@endif
عرض
@empty
لا يوجد
@endforelse
@endforeach
@endsection