@extends('front.layouts.app') @section('title', 'إدارة إعلاناتي | MedExchange') @section('styles') @endsection @section('content')
تابع حالة إعلاناتك المضافة أو قم بإضافة إعلان توظيف جديد
| عنوان الإعلان | النوع | المحافظة | الحالة | تاريخ النشر |
|---|---|---|---|---|
| {{ $ad->title }} | {{ $ad->type == 'hiring' ? 'توظيف' : 'بحث' }} | {{ $ad->governorate }} | @php $statusMap = [ 'pending' => ['label' => 'قيد المراجعة', 'class' => 'status-pending'], 'approved' => ['label' => 'منشور الآن', 'class' => 'status-approved'], 'rejected' => ['label' => 'مرفوض', 'class' => 'status-rejected'], ]; $status = $statusMap[$ad->status] ?? $statusMap['pending']; @endphp {{ $status['label'] }} | {{ $ad->created_at->format('Y-m-d') }} |
| لم تقم بإضافة أي إعلانات حتى الآن. | ||||