@extends('layouts.admin') @section('title', 'Wallet Management') @section('header', 'Wallet Management') @php $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '₹'); @endphp @section('content')
Total Wallet Balance

{{ $currencySymbol }}{{ number_format($totalBalance, App\Models\AppSetting::currencyDecimals()) }}

Active Wallets

{{ number_format($wallets->total()) }}

@forelse($wallets as $wallet) @empty @endforelse
User Balance Locked Status Updated
{{ $wallet->user?->name ?? 'User removed' }}
{{ $wallet->user?->email }}
{{ $currencySymbol }}{{ number_format($wallet->balance, App\Models\AppSetting::currencyDecimals()) }} {{ $currencySymbol }}{{ number_format($wallet->locked_balance, App\Models\AppSetting::currencyDecimals()) }} {{ $wallet->is_active ? 'Active' : 'Paused' }} {{ $wallet->updated_at?->format('d M Y h:i A') }}
No wallets yet
Recent Wallet Transactions
@foreach($transactions as $transaction) @endforeach
User Type Amount Balance After Description Date
{{ $transaction->user?->name ?? 'N/A' }} {{ str_replace('_', ' ', $transaction->type) }} {{ $currencySymbol }}{{ number_format($transaction->amount, App\Models\AppSetting::currencyDecimals()) }} {{ $currencySymbol }}{{ number_format($transaction->balance_after, App\Models\AppSetting::currencyDecimals()) }} {{ $transaction->description }} {{ $transaction->created_at?->format('d M Y h:i A') }}
@endsection