{{-- Success Message Component --}} @if (session('Status')) @endif {{-- Search Bar --}}
{{-- Table Wrapper --}}
@forelse ($supervisor_requests as $supervisor_request) @empty @endforelse
Title Issued To Status Actions
{{ $supervisor_request->title }} {{ $supervisor_request->assignee->name }} {{ $supervisor_request->status }}
@if ($supervisor_request->deadline < now()) {{ $supervisor_request->deadline }} LATE @else {{ $supervisor_request->deadline }} ONGOING @endif
@php // Check if a related job draft exists $jobDraftExists = \App\Models\JobDraft::where('job_order_id', $supervisor_request->id)->exists(); @endphp @if ($supervisor_request->status == 'pending' || $supervisor_request->status == 'Waiting for Operation Approval') @elseif ($jobDraftExists) @else @endif

No Data Found

{{-- Pagination Links --}}
{{-- {{ $list_of_projects->links('vendor.pagination.custom') }} --}}