@extends('layouts.app') @section('title', 'Dashboard - NGBVD') @section('content')
Decision Support Dashboard

National GBV Incident Overview

Monitor reported GBV cases, district trends, survivor demographics and incident categories.

@php // All values below are supplied by DashboardController using the signed-in user's data scope. // No dashboard KPI should query the database directly from the Blade view. $reportedProfiles = $reportedProfiles ?? 0; $incidentRecords = $incidentRecords ?? ($totalincidents ?? 0); $referredCases = $referredCases ?? 0; $reportingDistricts = $reportingDistricts ?? 0; $femaleSurvivors = $femaleSurvivors ?? 0; $maleSurvivors = $maleSurvivors ?? 0; $resourcesCount = $resourcesCount ?? 0; $activeUsersCount = $activeUsersCount ?? 0; @endphp
Reported Cases
{{ number_format($reportedProfiles) }}
Total survivor profiles
Incident Records
{{ number_format($incidentRecords) }}
All incident categories
Referred Cases
{{ number_format($referredCases) }}
Marked referred
Reporting Districts
{{ number_format($reportingDistricts) }}
Configured districts
Female Survivors
{{ number_format($femaleSurvivors) }}
Profiles captured
Male Survivors
{{ number_format($maleSurvivors) }}
Profiles captured
Resources
{{ number_format($resourcesCount) }}
Published documents
System Users
{{ number_format($activeUsersCount) }}
Active users
Trends
Trends of Incidents across the Years
Number of Incidents
Total number of Incidents separated by Incident Category
{{-- All dashboard chart data is now rendered from scoped controller payloads in dashboard.charts. --}} @push('scripts') @include('dashboard.charts', ['dashboardPayload' => $dashboardPayload ?? []]) @endpush @endsection