Morio Sacco
Branches Report
Generated on {{ date('F j, Y \a\t g:i A') }}
Total Branches: {{ $branches->count() }}
Total Members: {{ $branches->sum('users_count') }}
Report Date: {{ date('Y-m-d H:i:s') }}
Generated By: {{ auth()->user()->full_name ?? 'System' }}
@foreach($branches as $branch) @endforeach
ID Branch Name Location Description Members Created Date
{{ $branch->id }} {{ $branch->name }} {{ $branch->location }} {{ $branch->description ?? 'N/A' }} {{ $branch->users_count }} {{ $branch->created_at->format('Y-m-d') }}

Summary Statistics

Average Members per Branch: {{ $branches->count() > 0 ? round($branches->sum('users_count') / $branches->count(), 1) : 0 }}
Largest Branch: {{ $branches->sortByDesc('users_count')->first()->name ?? 'N/A' }} ({{ $branches->max('users_count') }} members)
Newest Branch: {{ $branches->sortByDesc('created_at')->first()->name ?? 'N/A' }}
QR Code