@extends('wallet.layouts.master') @php $fullName = trim(($user->fname ?? '').' '.($user->lname ?? '')) ?: 'User'; $initial = strtoupper(substr($user->fname ?: ($user->email ?: 'U'), 0, 1)); $location = implode(', ', array_filter([$user->city, $user->country])); $fmt = function ($dt) { if (! $dt) return '—'; try { return \Illuminate\Support\Carbon::parse($dt)->format('M j, Y, g:i A'); } catch (\Throwable $e) { return (string) $dt; } }; $permissions = ['Allow Send Funds', 'Allow Receive Funds', 'Allow Swap Funds', 'Allow Buy Funds', 'Allow Sell Funds']; $tabs = [ 'general' => ['icon' => 'ti-user-circle', 'label' => 'General'], 'manageWallets' => ['icon' => 'ti-wallet', 'label' => 'Wallets'], 'transactions' => ['icon' => 'ti-arrows-exchange', 'label' => 'Transactions'], 'tickets' => ['icon' => 'ti-lifebuoy', 'label' => 'Tickets'], 'paymentMethod' => ['icon' => 'ti-credit-card', 'label' => 'Payment Methods'], 'withdraw-method' => ['icon' => 'ti-building-bank', 'label' => 'Withdrawal Method'], 'send-email' => ['icon' => 'ti-mail', 'label' => 'Send Email'], ]; @endphp @section('title', $fullName.' | User Details') @section('page-css') @endsection @section('content')