{{ ucfirst(str_replace('_', ' ', $approval->request_type)) }}
{{ $approval->requesterEmployee?->code ?? '-' }} - {{ $approval->requesterEmployee?->name ?? '-' }}
{{ ucfirst($approval->status) }}
{{ $approval->current_sequence_order ?? '-' }}
{{ optional($approval->submitted_at)->format('Y-m-d H:i') ?: '-' }}
@if($requestRecord)
{{ $requestRecord->request_code ?? '-' }}
{{ $requestRecord->employee?->code ?? '-' }} - {{ $requestRecord->employee?->name ?? '-' }}
{{ $requestRecord->branch?->name ?? '-' }}
{{ ucfirst($requestRecord->status ?? '-') }}
@endif
| Sequence |
Status |
Approver |
Acted By |
Acted At |
Notes |
@foreach($approval->steps as $step)
| {{ $step->sequence_order }} |
{{ ucfirst($step->status) }} |
{{ $step->approverEmployee?->name ?? ($step->role?->name ?? ucfirst($step->approval_type)) }} |
{{ $step->actorAdmin?->name ?? '-' }} |
{{ optional($step->acted_at)->format('Y-m-d H:i') ?: '-' }} |
{{ $step->action_notes ?: '-' }} |
@endforeach
@if($approval->status === 'pending')
@endif