@extends('adminlte::page') @section('title', 'HOD Budget Actions') @section('content_header')
{{ ucfirst(str_replace('_',' ',$status)) }} Amount
{{ $summaryCounts[$status] }} items{{ ucfirst(str_replace('_',' ',$stat)) }}
| # | Item | Description | Price (TZS) | Status | Withdraw |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->item }} | {{ $item->description ?? '-' }} | {{ number_format($item->price, 2) }} | {{ ucfirst(str_replace('_',' ',$item->status)) }} | @if($item->status === 'approved') @else - @endif |
| Total Amount: | {{ number_format($budget->items->sum('price'), 2) }} | ||||
| Total Approved Amount: | {{ number_format($budget->items->where('status','approved')->sum('price'), 2) }} | ||||
| Status | Total Amount (TZS) | Total Items |
|---|---|---|
| {{ ucfirst(str_replace('_',' ',$status)) }} | {{ number_format($amount, 2) }} | {{ $summaryCounts[$status] }} |