URA SACCOS Analytics Dashboard Report

Generated on: {{ $generated_at }}

Generated by: {{ $generated_by }}

Key Performance Metrics

{{ number_format($total_count) }}
Total Users
{{ number_format($active_count) }}
Active Users
{{ number_format($online_count) }}
Currently Online
{{ number_format($logged_today) }}
Logged Today

Department Analysis

@foreach($departments as $dept) @endforeach
Department Total Users Percentage Status
{{ $dept->name }} {{ $dept->users_count ?? 0 }} {{ $total_count > 0 ? number_format((($dept->users_count ?? 0) / $total_count) * 100, 1) : 0 }}% @if(($dept->users_count ?? 0) > 10) High Activity @elseif(($dept->users_count ?? 0) > 5) Medium Activity @else Low Activity @endif

Branch Distribution

@foreach($branches as $branch) @endforeach
Branch Total Users Percentage Performance
{{ $branch->name }} {{ $branch->users_count ?? 0 }} {{ $total_count > 0 ? number_format((($branch->users_count ?? 0) / $total_count) * 100, 1) : 0 }}% @if(($branch->users_count ?? 0) > 15) Excellent @elseif(($branch->users_count ?? 0) > 8) Good @else Needs Improvement @endif

Key Insights & Recommendations:

User Engagement: {{ number_format(($active_count / $total_count) * 100, 1) }}% of users are currently active in the system.
Daily Activity: {{ number_format(($logged_today / $total_count) * 100, 1) }}% of users logged in today, indicating {{ $logged_today > ($total_count * 0.3) ? 'high' : 'moderate' }} system engagement.
Real-time Usage: {{ $online_count }} users are currently online, representing {{ number_format(($online_count / $total_count) * 100, 1) }}% of the user base.
@if($departments->count() > 0)
Department Distribution: Users are distributed across {{ $departments->count() }} departments, with {{ $departments->sortByDesc('users_count')->first()->name ?? 'N/A' }} having the highest user count.
@endif @if($branches->count() > 0)
Branch Performance: The system covers {{ $branches->count() }} branches, with {{ $branches->sortByDesc('users_count')->first()->name ?? 'N/A' }} being the most active branch.
@endif

Performance Summary

Metric Value Benchmark Status
User Activation Rate {{ number_format(($active_count / $total_count) * 100, 1) }}% >80% {{ ($active_count / $total_count) * 100 > 80 ? 'Excellent' : 'Needs Improvement' }}
Daily Engagement {{ number_format(($logged_today / $total_count) * 100, 1) }}% >30% {{ ($logged_today / $total_count) * 100 > 30 ? 'Good' : 'Below Target' }}
Real-time Activity {{ number_format(($online_count / $total_count) * 100, 1) }}% >10% {{ ($online_count / $total_count) * 100 > 10 ? 'Active' : 'Low Activity' }}