|
Requestor Information
Name:{{ $requisition->requested_by->first_name ?? '—' }} {{ $requisition->requested_by->last_name ?? '' }}
Department:{{ $requisition->department->name ?? '—' }}
Request Date:{{ $requisition->created_at->format('d M Y') }}
|
Request Summary
Status:{{ ucfirst($requisition->status ?? 'Draft') }}
Total Amount:{{ number_format($requisition->total_amount ?? 0, 2) }}
Items Count:{{ $requisition->cash_requisition_items->count() }}
|
| # | Account / Description | Qty | Unit Cost | Total |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->chart_of_account->name }} | {{ $item->quantity }} | {{ number_format($item->unit_cost, 2) }} | {{ number_format($item->quantity * $item->unit_cost, 2) }} |
|
@if(!empty($approval->approver->user->signature))
@php
$path = base_path('storage/app/public/' . ltrim(str_replace('storage/', '', $approval->approver->user->signature), '/'));
@endphp
@if(file_exists($path))
Approver:
{{ $approval->approver->first_name }}
{{ $approval->approver->last_name }}
Level:
{{ $approval->approval_level->name ?? '—' }}
Date:
{{ optional($approval->date_approved)->format('d/m/Y') ?? '—' }}
Status:
{{ strtoupper($approval->status) }}
|
@endforeach