@extends('layouts.user', ['heading' => 'Referral Center']) @section('content')
Referral Dashboard
{{ auth()->user()->name }}
Sponsor Code: {{ auth()->user()->referral_code }} | Auto Suggested Leg: {{ ucfirst($autoLeg) }}
Direct Referrals
0
{{ $summary['active_direct_count'] }} active
Left Team
0
Right Team
0
Direct Income
Rs. 0
3 Referral Links (Left / Right / Auto)
@foreach(['left' => 'Left Join Link', 'right' => 'Right Join Link', 'auto' => 'Auto Placement Link'] as $type => $label)
{{ $label }}
{{ $links[$type] }}
WhatsApp Open
{{ $label }} QR
@endforeach
Binary BV Snapshot
Joining Left: {{ number_format((float) $summary['left_joining_bv'], 2) }}
Joining Right: {{ number_format((float) $summary['right_joining_bv'], 2) }}
Repurchase Left: {{ number_format((float) $summary['left_repurchase_bv'], 2) }}
Repurchase Right: {{ number_format((float) $summary['right_repurchase_bv'], 2) }}
Placement Hint
Auto placement currently points to {{ strtoupper($autoLeg) }} leg based on your lower combined BV side.
@endsection