@extends('layouts.app') @section('title','Budget allocation') @section('content')

Budget allocation & expenditure control

Budget allocations are facility-specific. Draft budgets cannot fund purchase orders. Approval requires a different LCDA administrator from the creator.
@csrf
Create budget allocation
@if($facilities->isNotEmpty())
@endif
Budget register
@forelse($budgets as $b)@empty@endforelse
CodeBudgetAccountPeriodApprovedCommittedSpentAvailableStatusAction
{{ $b->budget_code }}{{ $b->description }}{{ $b->account_code }} — {{ $b->account_name }}{{ $b->period_start }} – {{ $b->period_end }}₦{{ number_format($b->approved_amount,2) }}₦{{ number_format($b->committed_amount,2) }}₦{{ number_format($b->spent_amount,2) }}₦{{ number_format($b->approved_amount-$b->committed_amount-$b->spent_amount,2) }}{{ $b->status }}@if($b->status==='draft' && auth()->user()->hasRole(['super_administrator','lcda_administrator']))
@csrf
@endif
No budget allocations.
@endsection