@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; $logged_in_user = Auth::user(); @endphp

{{ __('Job Listings') }}

TOTAL JOBS

{{ $jobs->count() }}

ACTIVE

{{ $jobs->where('is_active', true)->where('valid_from', '<=', now())->where('valid_until', '>=', now())->count() }}

UPCOMING

{{ $jobs->where('is_active', true)->where('valid_from', '>', now())->count() }}

EXPIRED

{{ $jobs->where('valid_until', '<', now())->count() }}

Advanced Filters
Jobs Table
entries
@foreach ($jobs as $job) @endforeach
Title User Type Employment Type Location Salary Range Status Applications Valid Period Created At Actions
{{ $job->title }}
{{ Str::limit($job->description, 50) }}
{{ ucfirst($job->user_type) }} {{ ucfirst(str_replace('_', ' ', $job->employment_type)) }} {{ $job->location }} @if($job->salary_min || $job->salary_max) ${{ number_format($job->salary_min ?? 0) }} - ${{ number_format($job->salary_max ?? 0) }} @else Not specified @endif @if($job->is_active) @if($job->valid_from <= now() && $job->valid_until >= now()) Active @elseif($job->valid_from > now()) Upcoming @else Expired @endif @else Inactive @endif {{ $job->applications_count ?? 0 }}
{{ $job->valid_from->format('M d, Y') }}
to {{ $job->valid_until->format('M d, Y') }}
{{ $job->created_at->format('M d, Y H:i') }}
Title User Type Employment Type Location Salary Range Status Applications Valid Period Created At Actions