Republic of the Philippines

BARANGAY MANAGEMENT SYSTEM

DASHBOARD REPORT

Report Period: {{ \Carbon\Carbon::parse($dateFrom)->format('F d, Y') }} to {{ \Carbon\Carbon::parse($dateTo)->format('F d, Y') }} @if($purok)
Purok: {{ $purok->name }} @else
Coverage: All Puroks @endif
Generated: {{ \Carbon\Carbon::now()->format('F d, Y h:i A') }}
Overall Statistics
Total Residents
{{ number_format($stats['total_residents']) }}
Total Households
{{ number_format($stats['total_households']) }}
Total Blotters
{{ number_format($stats['total_blotters']) }}
Total Clearance Requests
{{ number_format($stats['total_clearances']) }}
Total Assistance Requests
{{ number_format($stats['total_assistance']) }}
Demographics - By Sex
@php $totalBySex = $demographics['by_sex']->sum('count'); @endphp @foreach($demographics['by_sex'] as $item) @endforeach
Sex Count Percentage
{{ $item->sex ?? 'N/A' }} {{ number_format($item->count) }} {{ $totalBySex > 0 ? number_format(($item->count / $totalBySex) * 100, 2) : 0 }}%
Total {{ number_format($totalBySex) }} 100%
Demographics - By Age Group
@php $totalByAge = $demographics['by_age_group']->sum('count'); @endphp @foreach($demographics['by_age_group'] as $item) @endforeach
Age Group Count Percentage
{{ $item->age_group ?? 'N/A' }} {{ number_format($item->count) }} {{ $totalByAge > 0 ? number_format(($item->count / $totalByAge) * 100, 2) : 0 }}%
Total {{ number_format($totalByAge) }} 100%