@extends('layouts.app') @section('content') @include('inc.h') @include('inc.s')
User Information
Back
Name

{{ $user->name }}

Username

{{ $user->username }}

Email

{{ $user->email }}

Phone

{{ $user->phone ?? 'N/A' }}

Date of Birth

{{ $user->dob }}

Location

{{ $user->location }}

Country

{{ $user->country }}

Role / Class Level

{{ ucfirst($user->role) }}

@if($user->role === 'smart_trader')
Business Name

{{ $user->business_name ?? 'N/A' }}

Employees

{{ $user->employees ?? 'N/A' }}

Trader Info

{{ $user->trader_info ?? 'N/A' }}

@endif
Referral Code

{{ $user->referrer_code ?? 'N/A' }}

Wallet Balance
@php $wallet = $user->wallets->pluck('amount')->sum(); @endphp

₦{{ number_format($wallet, 2) }}

@if(auth()->check() && auth()->user()->role != 'admin') @endif
@endsection