@extends('admin.layouts.app') @section('title', 'Bank & Branch Management Dashboard') @section('content')

📊 Bank & Branch Management Dashboard

Monitor your banking network at a glance

{{ number_format($stats['total_banks']) }}

Total Banks

{{ $stats['active_banks'] }} Active {{ $stats['total_banks'] - $stats['active_banks'] }} Inactive
Last updated: Today

{{ number_format($stats['total_branches']) }}

Total Branches

{{ $stats['active_branches'] }} Active {{ $stats['total_branches'] - $stats['active_branches'] }} Inactive
Across {{ $stats['total_banks'] }} banks

{{ number_format($stats['total_agents']) }}

Total Agents

{{ $stats['active_agents'] }} Active {{ $stats['total_agents'] - $stats['active_agents'] }} Inactive
{{ round(($stats['active_agents'] / max($stats['total_agents'], 1)) * 100, 1) }}% active rate
Recent Branches
View All
@forelse($recentBranches as $branch) @empty @endforelse
# Bank Branch Address Status Actions
{{ $branch->id }}
{{ $branch->bank->bank ?? 'N/A' }}
{{ $branch->branch_address }} @if($branch->is_active) Active @else Inactive @endif

No branches found

Recent Agents
View All
@forelse($recentAgents as $agent) @empty @endforelse
# Name Bank Branch Status Actions
{{ $agent->id }}
{{ $agent->name }}
{{ $agent->bank->bank ?? 'N/A' }} {{ $agent->branch->branch_address ?? 'N/A' }} @if($agent->is_active) Active @else Inactive @endif

No agents found

@endsection