@extends('layouts.app') @section('title', 'الوظائف المتاحة') @section('content') @push('styles') @endpush
@forelse($postings as $p)

{{ $p->title }}

{{ $p->location ?? 'غير محدد' }}

{{ $p->employment_type == 'full_time' ? 'دوام كامل' : ($p->employment_type == 'part_time' ? 'دوام جزئي' : ($p->employment_type == 'contract' ? 'عقد' : 'تدريب')) }}

@if($p->salary_min || $p->salary_max)

{{ number_format($p->salary_min ?? 0) }} - {{ number_format($p->salary_max ?? 0) }} ج.م

@endif

نشر: {{ $p->published_at ? \Carbon\Carbon::parse($p->published_at)->diffForHumans() : '-' }}

@if($p->closing_date)آخر موعد: {{ $p->closing_date }}@endif تقدم الآن
@empty
لا توجد وظائف متاحة حالياً
@endforelse
@if($postings->hasPages())
{{ $postings->links() }}
@endif @endsection