@extends('layouts.admin-sidebar') @section('title', 'Wallet Transactions') @section('page-title', 'Wallet Transactions') @section('page-description', 'Monitor all wallet transactions across the platform') @section('content')
Total Transactions
{{ number_format($stats['total_transactions']) }}
{{ number_format($stats['today_transactions']) }} today
Total Volume
₦{{ number_format($stats['total_volume'] / 1000000, 1) }}M
₦{{ number_format($stats['today_volume'], 2) }} today
Pending
{{ number_format($stats['pending_transactions']) }}
₦{{ number_format($stats['pending_volume'], 2) }} value
Failed
{{ number_format($stats['failed_transactions']) }}
{{ number_format($stats['failed_rate'], 1) }}% failure rate
Reference | User | Type | Category | Amount | Status | Date | Actions |
---|---|---|---|---|---|---|---|
{{ $transaction->reference }}
{{ $transaction->id }}
|
{{ strtoupper(substr($transaction->user->first_name ?? 'U', 0, 1) . substr($transaction->user->last_name ?? 'U', 0, 1)) }}
{{ $transaction->user->full_name ?? 'Unknown User' }}
{{ $transaction->user->email ?? 'N/A' }}
|
{{ $transaction->type === 'credit' ? '↗ Credit' : '↘ Debit' }} | {{ ucfirst(str_replace('_', ' ', $transaction->category)) }} |
{{ $transaction->type === 'credit' ? '+' : '-' }}₦{{ number_format($transaction->amount, 2) }}
@if($transaction->fee > 0)
Fee: ₦{{ number_format($transaction->fee, 2) }}
@endif
|
{{ ucfirst($transaction->status) }} |
{{ $transaction->created_at->format('M d, Y') }}
{{ $transaction->created_at->format('H:i:s') }}
|
@if($transaction->status === 'pending') @endif |
No transactions match your current filters.