@extends('layouts.app') @section('title', 'لوحة القبولات') @section('content')
نظرة شاملة على جميع التقديمات
إجمالي الطلاب
{{ $totalStudents }}
إجمالي التقديمات
{{ $totalApplications }}
مستندات ناقصة
{{ $pendingDocs }}
مقبولة
{{ $accepted }}
| الطالب | البريد | الهاتف | الحالة | التاريخ |
|---|---|---|---|---|
| {{ $app->student_name ?? $app->name ?? '—' }} | {{ $app->email ?? '—' }} | {{ $app->phone ?? '—' }} | @php $statusColors = [ 'not_started' => 'bg-gray-50 text-gray-600 border-gray-100', 'docs_missing' => 'bg-amber-50 text-amber-600 border-amber-100', 'submitted' => 'bg-blue-50 text-blue-600 border-blue-100', 'conditional_acceptance' => 'bg-purple-50 text-purple-600 border-purple-100', 'final_acceptance' => 'bg-green-50 text-green-600 border-green-100', 'rejected' => 'bg-red-50 text-red-600 border-red-100', ]; $color = $statusColors[$app->status] ?? 'bg-gray-50 text-gray-600 border-gray-100'; @endphp {{ $app->status_label ?? $app->status }} | {{ \Carbon\Carbon::parse($app->created_at)->format('Y-m-d') }} |
|
📂
لا توجد تقديمات حديثة |
||||