|
@if(!empty($organisation->logo))
@php
$logoPath = 'storage/app/public/' . ltrim(str_replace('storage/', '', $organisation->logo), '/');
$absolutePath = base_path($logoPath);
@endphp
@if(file_exists($absolutePath))
|
{{ $organisation->organisation_name ?? 'SAHARA' }}
PURCHASE REQUISITION
|
|
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:
| # | 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 }} |
|
@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))
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 }} |
@endforeach