|
@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 ?? 'VERIFIN' }}
CASH REQUISITION FORM
|
|
Requested By:{{ $requisition->requested_by->first_name. " ".$requisition->requested_by->last_name ?? 'N/A' }} Department:{{ $requisition->department->name ?? 'N/A' }} |
Total Amount Requested:{{ $requisition->total_amount??0 }} Total Amount Approved:{{ $requisition->approved_total_amount??0 }} |
Purpose:
| # | Description | Req. Qty | Req. Unit Price | Req. Total | Appr. Qty | Appr. Unit Price | Appr. Total | Status |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->chart_of_account->name }} | {{ $item->quantity }} | {{ number_format($item->unit_cost, 2) }} | {{ number_format($item->quantity * $item->unit_cost, 2) }} | {{ $item->approved_quantity }} | {{ number_format($item->approved_unit_cost, 2) }} | {{ number_format($item->approved_total_cost, 2) }} | {{ $item->status }} |
|
@if(!empty($approval->approver->user->signature))
@php
$logoPath = 'storage/app/public/' . ltrim(str_replace('storage/', '', $approval->approver->user->signature), '/');
$absolutePath = base_path($logoPath);
@endphp
@if(file_exists($absolutePath))
Approver: {{ $approval->approver->first_name . " ". $approval->approver->last_name }}
Level: {{ $approval->approval_level->name }} Date: {{ \Carbon\Carbon::parse($approval->date_approved)->format('d/m/Y') }} Status: {{ $approval->status }} |
@endforeach