@extends('layouts.admin') @section('title', 'KMS Dashboard') @section('content') @if(auth()->user()->hasPermission('kms.reports.view'))
Open Full Report (PDF / Excel / Charts)
@endif
{{ $counts['indicators_tier1'] }}
Tier 1 Core Indicators
{{ $counts['indicators_tier2'] }}
Tier 2 Cross-Cutting
{{ $counts['submitted'] + $counts['endorsed'] }}
Awaiting Review
{{ $counts['approved'] }}
Approved
{{ $counts['draft'] }}
Drafts
{{ $counts['returned'] }}
Returned for Correction
{{ $counts['flagged'] }}
Flagged / Pending Verification
Recent Submissions
@forelse($recent as $s) @empty @endforelse
ProjectIndicatorPeriodStatus
{{ \Illuminate\Support\Str::limit($s->project->title ?? '—', 30) }} {{ $s->indicator->code ?? '—' }} {{ $s->period_label }} {{ $s->statusLabel() }}
No submissions yet.
Tier 1 Indicators by Program
@forelse($byProgram as $row)
{{ $row->program->title ?? 'Unassigned' }} {{ $row->total }}
@empty

No Tier 1 indicators configured yet.

@endforelse
@endsection