@extends('layouts.admin-sidebar') @section('title', 'Admin Dashboard') @section('page-title', 'Dashboard') @section('page-description', 'Overview of your fintech platform') @section('content')
Total Users
{{ number_format($stats['total_users']) }}
{{ number_format($stats['active_users']) }} active
Pending KYC
{{ number_format($stats['pending_kyc']) }}
{{ number_format($stats['approved_kyc']) }} approved
Transactions
{{ number_format($stats['total_transactions']) }}
₦{{ number_format($stats['total_transaction_volume'] / 1000000, 1) }}M volume
Active Cards
{{ number_format($stats['active_cards']) }}
{{ number_format($stats['total_wallets']) }} wallets
{{ $stats['pending_kyc'] }} Pending KYC
Require approval
{{ $stats['blocked_users'] }} Blocked Users
Need review
{{ $stats['frozen_wallets'] }} Frozen Wallets
Temporary freeze
{{ $user->full_name }}
{{ $user->email }}
{{ $user->created_at->diffForHumans() }}
No recent users
{{ ucfirst(str_replace('_', ' ', $transaction->category)) }}
{{ $transaction->user->full_name ?? 'Unknown User' }}
{{ $transaction->created_at->format('M d, H:i') }}
{{ $transaction->type === 'credit' ? '+' : '-' }}₦{{ number_format($transaction->amount, 2) }}
{{ ucfirst($transaction->status) }}No recent transactions