Request Details

{{ config('app.name', 'Asset Management') }} / Requests / #{{ $request->request_code }}
Back

Request Information

{{ $request->status->label() }}

Category

{{ $request->category->name }}

Quantity

{{ $request->quantity }}

Submitted On

{{ $request->created_at->format('M d, Y \a\t h:i A') }}

Last Updated

{{ $request->updated_at->format('M d, Y \a\t h:i A') }}

Justification

{{ $request->justification }}

@if ($request->attachment) @endif
@if ($request->approvals->count() > 0)

Approval Workflow

@foreach ($request->approvals as $approval)

Level {{ $approval->level }}

{{ $approval->decided_at ? $approval->decided_at->format('M d, Y') : 'Pending' }}

{{ $approval->approver->name ?? 'Approver Assigned' }}

@if ($approval->comment)
"{{ $approval->comment }}"
@endif
{{ $approval->decision->label() }}
@endforeach
@endif

Request Status

Request Submitted

{{ $request->created_at->format('M d, Y') }}

Request initiated.

Approvals

{{ $request->status->isPending() ? 'In Progress' : 'Completed' }}

Fulfillment

{{ $request->status->isFulfilled() ? 'Fulfilled' : 'Pending' }}