@extends('layouts.app')
@section('title', 'Approvals')
@section('content')
| Type | Request ID | Requester | Role / Approver | Due | Status | Actions |
|---|---|---|---|---|---|---|
| {{ ucfirst(str_replace('_', ' ', $approval->request_type ?? '')) }} | #{{ $approval->request_id }} | {{ $approval->requester->name ?? '—' }} | {{ $approval->approver->name ?? ucfirst(str_replace('_', ' ', $approval->approver_role ?? '—')) }} | {{ optional($approval->due_at)->format('Y-m-d H:i') ?? '—' }} | @if($approval->status === 'pending') @endif |