@extends('adminlte::page') @section('title', 'Budgets') @section('content_header')

Budget List

@endsection @section('content')

All Budgets

@forelse($budgets as $budget) @empty @endforelse
# Department Month / Year Total Amount Status Step Actions
{{ $budget->id }} {{ $budget->department->name ?? 'N/A' }} {{ $budget->month }} / {{ $budget->year }} {{ number_format($budget->total_amount, 2) }} TZS @if($budget->status == 'approved') Approved @elseif($budget->status == 'pending') Pending @elseif($budget->status == 'partially_approved') Partially Approved @elseif($budget->status == 'rejected') Rejected @else Unknown @endif @if($budget->current_step == 'hod') HOD @elseif($budget->current_step == 'do') Director @else - @endif View @can('edit budgets') Edit @endcan @can('delete budgets')
@csrf @method('DELETE')
@endcan
No budgets found
@endsection