@if(!empty($organisation->logo)) @php $logoPath = 'storage/app/public/' . ltrim(str_replace('storage/', '', $organisation->logo), '/'); $absolutePath = base_path($logoPath); @endphp @if(file_exists($absolutePath)) @endif @endif
{{ $organisation->organisation_name ?? 'SAHARA' }}
PURCHASE REQUISITION
Requisition #: {{ $requisition->request_no }} | Date: {{ \Carbon\Carbon::parse($requisition->request_date)->format('d/m/Y') }}
Request Details

Requested By: {{ $requisition->requester->first_name }} {{ $requisition->requester->last_name }}

Department: {{ $requisition->department->name ?? 'N/A' }}

Procurement Method: {{ $requisition->procurement_method }}

Total Estimated Cost: {{ number_format($requisition->total_estimated_cost, 2) }}

Total Approved Cost: {{ number_format($requisition->total_approved_estimated_cost, 2) }}

Priority: {{ $requisition->priority }}

Status: {{ $requisition->status }}

Special Instructions:

{{ $requisition->special_instructions ?? 'None' }}
Requisition Items
@foreach($requisition->items as $item) @endforeach
# Description Purpose Qty Unit Price Total Price Delivery Date Status
{{ $loop->iteration }} {{ $item->description }} {{ $item->purpose }} {{ $item->quantity }} {{ number_format($item->estimated_unit_price, 2) }} {{ number_format($item->estimated_total_price, 2) }} {{ \Carbon\Carbon::parse($item->item_delivery_date)->format('d/m/Y') }} {{ $item->status }}
Approval History
@foreach($requisition->approvals as $approval) @endforeach
@if(!empty($approval->approver->user->signature)) @php $signaturePath = 'storage/app/public/' . ltrim(str_replace('storage/', '', $approval->approver->user->signature), '/'); $absolutePath = base_path($signaturePath); @endphp @if(file_exists($absolutePath)) @endif @endif
Approver: {{ $approval->approver->first_name }} {{ $approval->approver->last_name }}
Level: {{ $approval->approval_level->name ?? 'N/A' }}
Date: {{ \Carbon\Carbon::parse($approval->approved_at)->format('d/m/Y') }}
Status: {{ $approval->status }}