@extends('adminlte::page') @section('title', 'View Budget') @section('content_header')
Submitted By: {{ $budget->staff->name ?? '-' }}
Month / Year: {{ $budget->month ?? '-' }} / {{ $budget->year ?? '-' }}
Status: {{ ucfirst($budget->status) }}
Total Amount: TZS {{ number_format($budget->total_amount, 2) }}
Note: {{ $budget->note ?? '-' }}
| Item | Description | Price (TZS) | Status | Approved By | Note / Comment | Action |
|---|---|---|---|---|---|---|
| {{ $item->item }} | {{ $item->description ?? '-' }} | {{ number_format($item->price, 2) }} | {{ ucfirst($item->status ?? 'pending') }} | {{ $item->approvedBy->name ?? '-' }} | {{ $item->note ?? $item->comment ?? '-' }} | @if(Auth::user()->role == 'hod' && $item->status == 'approved') @elseif($item->invoice) Invoice ({{ ucfirst($item->invoice->status) }}) @else - @endif |
| No items added. | ||||||