| ID | Title | Requested By | Time | Status |
|---|---|---|---|---|
|
#{{ $req->id }}
|
{{ $req->title }}
|
{{ $req->name ?? $req->user->name }}
{{ $req->department ?? '' }}
{{ $req->created_at->format('d M Y H:i') }}
|
{{ $req->start_time->format('d M Y H:i') }} - {{ $req->end_time->format('H:i') }}
@if ($req->recurrence_type && $req->recurrence_type !== 'none')
{{ ucfirst($req->recurrence_type) }}
@if ($req->recurrence_end_date)
until {{ \Carbon\Carbon::parse($req->recurrence_end_date)->format('d M Y') }}
@endif
@endif
|
$req->status === 'Initiated', 'bg-green-50 text-green-700 ring-1 ring-green-200' => $req->status === 'Approved', 'bg-red-50 text-red-700 ring-1 ring-red-200' => $req->status === 'Rejected', ])> {{ $req->status }} |
| No requests found. | ||||