| # | Item Description | Requested Qty | Approved Qty | Issued Qty | Balance | Remarks |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->item->name ?? 'N/A' }} | {{ number_format($item->requested_quantity, 2) }} | {{ number_format($item->approved_quantity, 2) }} | {{ $item->issued_quantity ? number_format($item->issued_quantity, 2) : '-' }} | {{ $item->issued_quantity ? number_format($balance, 2) : '-' }} | {{ $item->remarks ?? '' }} |
| TOTALS | {{ number_format($requisition->items->sum('requested_quantity'), 2) }} | {{ number_format($requisition->items->sum('approved_quantity'), 2) }} | {{ number_format($requisition->items->sum('issued_quantity'), 2) }} | {{ number_format($requisition->items->sum('approved_quantity') - $requisition->items->sum('issued_quantity'), 2) }} | ||
| Approval Level | Approver | Status | Date Approved | Comments |
|---|---|---|---|---|
| {{ $approval->approval_level->name ?? 'N/A' }} | {{ $approval->approver->first_name . ' ' . $approval->approver->last_name }} | {{ ucfirst($approval->status) }} | {{ $approval->updated_at ? $approval->updated_at->format('d M Y H:i') : 'Pending' }} | {{ $approval->comment ?? '' }} |