@section('title', 'Financial Years')
{{-- Total Budget --}}
SAR {{ formatMoneyValue($totalBudget, 'SAR', true) }}
Total Budget
{{-- Manual Spent --}}
SAR {{ formatMoneyValue($totalManualSpent, 'SAR', true) }}
Manual Spent
{{-- Actual Spent --}}
SAR {{ formatMoneyValue($totalActualSpent, 'SAR', true) }}
Actual Spent
{{-- Remaining Amount --}}
SAR {{ formatMoneyValue($totalRemaining, 'SAR', true) }}
Remaining Balance
{{-- Spending Efficiency --}}
{{ $spendingEfficiency }}% {{ $spendingEfficiency < 100 ? 'Under Budget' : 'Overspent' }}
Spending Efficiency
{{-- Overspent Years --}}
{{ $overspentYearsCount > 0 ? "Yes – $overspentYearsCount " . Str::plural('Year', $overspentYearsCount) : 'No' }} @if ($overspentYearsCount > 0) Alert @else All Good @endif
Overspent Years
{{$dataTable->table()}}
@push('scripts') {{$dataTable->scripts(null, ['nonce' => csp_nonce()])}} @endpush