@extends('layouts.app') @section('content')

Job List

Selected
@if ($jobs && $jobs->isNotEmpty()) @foreach ($jobs as $key => $job) @endforeach @else @endif
# Job Posted By Budget craeted At Provider Status Action
{{ $loop->iteration }} {{ $job->name ?? 'N/A' }} {{ $job->user?->name ?? 'N/A' }} ${{ number_format($job->budget ?? 0, 2) }} {{ $job->created_at ? \Carbon\Carbon::parse($job->created_at)->format('d M Y') : 'N/A' }} {{ $job->provider?->name ?? 'Not Assigned' }} @switch($job->status ?? -1) @case(0) Pending @break @case(1) Done @break @case(2) Waiting for Confirmation @break @case(3) Job Started @break @case(4) Job Completed @break @default Unknown Status @endswitch
No matching records found
{{ $jobs->links() }}
@endsection @push('script') @endpush