@extends('layouts.dashboard') @section('title', 'Manage Jobs') @section('content')

Jobs Management

Your Posted Jobs
@forelse($jobs as $job) @empty @endforelse
Job Title Type Budget Deadline Status Posted By Actions
{{ $job->title }}
Posted {{ $job->created_at->diffForHumans() }}
{{ ucfirst($job->job_type) }} @if($job->budget_min && $job->budget_max) ${{ $job->budget_min }} - ${{ $job->budget_max }} @elseif($job->budget_min) Min ${{ $job->budget_min }} @elseif($job->budget_max) Max ${{ $job->budget_max }} @else N/A @endif {{ $job->deadline ? \Carbon\Carbon::parse($job->deadline)->format('M d, Y') : 'No deadline' }} @if($job->status == 'open') Open @else Closed @endif {{ $job->creator->name ?? 'Unknown' }}
  • @csrf @method('DELETE')
No Jobs Posted

You have haven't posted any jobs yet. Create one now!

Post New Job
{{ $jobs->links() }}
@endsection