🌳 Team Network Tree

Complete Binary Tree Structure

@if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif
{{ $users->count() }}
Total Users
{{ $users->where('is_active', true)->count() }}
Active Users
{{ $users->where('role', 'distributor')->count() }}
Distributors
{{ $users->sum('total_pv_earned') }}
Total PV

Register New User

User Hierarchy Tree

Loading Binary Team Tree...

Root User
Active User
Inactive
Available Slot
@if($users->count() > 0)

User Hierarchy Table

@foreach($users as $user) @endforeach
ID Name & Role Sponsor Code Sponsor Placement Position Left Points Right Points Matching Points Generation Status PV Earned
{{ $user->id }}
{{ $user->name }}
{{ ucfirst($user->role) }}
{{ $user->sponsor_code ?? 'N/A' }} {{ $user->sponsor->name ?? 'ROOT' }} @if($user->sponsor)
({{ $user->sponsor->sponsor_code }})
@endif
{{ $user->placement->name ?? 'ROOT' }} @if($user->position) {{ $user->position }} @else ROOT @endif {{ $user->left_points }} {{ $user->right_points }} {{ $user->matching_points }} {{ $user->generation }} {{ $user->is_active ? 'Active' : 'Inactive' }} {{ number_format($user->total_pv_earned, 2) }}
@else

No Users Found

Start building your network by registering the first user.

@endif
👥 Register New User 🏠 Back to Home