@extends('layouts.app') @section('title', 'Dashboard') @section('content')

Welcome back, {{ auth()->user()->first_name }}

Here's an overview of your account.

@if(!auth()->user()->hasVerifiedEmail())

Verify your email address

We sent a verification link to {{ auth()->user()->email }}. Check your inbox.

@csrf
@endif {{-- Stats Grid --}}

Wallet Balance

₦{{ number_format($stats['balance'], 2) }}

Fund Wallet →

Total Funded

₦{{ number_format($stats['total_funded'], 2) }}

Total Spent

₦{{ number_format($stats['total_spent'], 2) }}

Transactions

{{ $stats['successful_transactions'] }}

{{-- Quick Actions --}}

Quick Actions

{{-- Recent Transactions --}}

Recent Transactions

View All →
@forelse($recentTransactions as $transaction) @empty @endforelse
Service Reference Amount Status Date
{{ $transaction->description }} {{ $transaction->reference }} {{ $transaction->type === 'credit' ? '+' : '-' }}₦{{ number_format($transaction->amount, 2) }} @if($transaction->status === 'completed') Completed @elseif($transaction->status === 'pending') Pending @elseif($transaction->status === 'failed') Failed @else {{ ucfirst($transaction->status) }} @endif {{ $transaction->created_at->format('M d, Y H:i') }}
No transactions yet. Start by making a purchase!
@endsection