Manage
| Employee | Course | Requested | Decision |
|---|---|---|---|
|
{{ $r->user->name }}
{{ collect([$r->user->staff_id, $r->user->department])->filter()->join(', ') ?: '—' }} |
{{ $r->course->title }} | {{ $r->created_at->format('j M Y, g:i a') }} |
@foreach (['approve' => ['Approve', 'btn-primary'], 'reject' => ['Reject', 'btn-ghost']] as $decision => [$label, $class])
@endforeach
|
| Employee | Course | Decision | By |
|---|---|---|---|
| {{ $r->user->name }} | {{ $r->course->title }} | $r->status === 'approved', 'text-red-600' => $r->status === 'rejected'])>{{ ucfirst($r->status) }} {{ $r->decided_at?->format('j M Y') }} | {{ $r->decider?->name ?? '—' }} |