@extends('layouts.app') @section('title', 'إدارة الوظائف') @section('content') @push('styles') @endpush

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

إجمالي الوظائف

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

المنشورة

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

مسودة

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

مغلقة

@forelse($jobPostings as $i => $p) @empty@endforelse
#المسمىنوع التوظيفالموقعالحالةتاريخ النشرإجراءات
{{ $i+1 }}{{ $p->title }}{{ $p->employment_type }}{{ $p->location ?? '-' }} @if($p->status=='published')منشورة@elseif($p->status=='draft')مسودة@elseمغلقة@endif {{ $p->published_at ?? '-' }} @if($p->status=='draft')
@csrf
@endif @if($p->status=='published')
@csrf
@endif
لا توجد وظائف
{{ $jobPostings->links() }}

إضافة وظيفة

@csrf
@push('scripts')@endpush @endsection