@extends('layouts.app') @section('title', 'Manage Listings') @section('content')

Listings Management

Reset
@forelse($jobs as $job) @empty @endforelse
# Image Title Job Type Work Mode Salary Status Posted Action
{{ $job->id }} @if($job->featuredImage) @else
@endif
{{ $job->title }}
{{ Str::limit($job->description, 50) }}
{{ ucfirst(str_replace('_',' ',$job->job_type)) }} {{ ucfirst($job->work_mode) }} @if($job->salary_min && $job->salary_max) ₹{{ number_format($job->salary_min) }} - ₹{{ number_format($job->salary_max) }} @else Not Disclosed @endif @php $statusClass = [ 'published' => 'success', 'draft' => 'secondary', 'expired' => 'danger', ]; @endphp {{ ucfirst($job->status) }} {{ $job->created_at->format('d M Y') }}
@csrf @method('DELETE')
No jobs found
{{ $jobs->links() }}
@endsection