@if($posting->department)
{{ $posting->department->name }}
@endif
@if($posting->application_deadline)
@php $daysLeft = now()->diffInDays($posting->application_deadline, false); @endphp
@if($daysLeft <= 7)
{{ $daysLeft <= 0 ? 'Closing today' : "Closes in {$daysLeft}d" }}
@endif
@endif
{{ $posting->title }}
{{ strip_tags($posting->description) }}
{{ ucfirst(str_replace('_',' ', $posting->employment_type)) }}
@if($posting->location)
{{ $posting->location }}
@endif
@if($posting->salary_min || $posting->salary_max)
@if($posting->salary_min && $posting->salary_max)
{{ number_format($posting->salary_min,0) }} – {{ number_format($posting->salary_max,0) }}
@elseif($posting->salary_min)
From {{ number_format($posting->salary_min,0) }}
@else
Up to {{ number_format($posting->salary_max,0) }}
@endif
@endif
@if($posting->application_deadline)
Deadline: {{ $posting->application_deadline->format('d M Y') }}
@endif
View & Apply