@if ($jobs && $jobs->isNotEmpty())
@foreach ($jobs as $key => $job)
{{ $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
|
|
@endforeach
@else
No matching records found |
@endif