{{-- resources/views/admin/user-management/show.blade.php --}} @extends('admin.layouts.app') @section('title', 'User Details - ' . $user->name) @section('page-title', 'User Details') @section('page-description', 'Comprehensive view of user account, activities, and statistics.') @php $breadcrumbs = [ ['title' => 'Users', 'url' => route('admin.users.index')], ['title' => $user->name] ]; @endphp @section('content')
Trips Created
{{ $user->createdTrips->count() }}
Savings Wallets
{{ $user->savingsWallets->count() }}
Total Savings
{{ $user->currency }}{{ number_format($user->total_savings ?? 0, 2) }}
Transactions
{{ $user->walletTransactions->count() }}
{{ $user->email }}
{{ $user->account_number }}
No trips created yet.
No savings wallets created yet.
{{ ucfirst($transaction->type) }}
{{ $transaction->created_at->format('M j, Y g:i A') }}
{{ $user->currency }}{{ number_format($transaction->amount, 2) }}
@php $transactionStatusColors = [ 'completed' => 'bg-green-100 text-green-800', 'pending' => 'bg-yellow-100 text-yellow-800', 'failed' => 'bg-red-100 text-red-800' ]; @endphp {{ ucfirst($transaction->status) }}No transactions found.