@extends('layouts.user') @section('title') My Marketers Dashboard @endsection @section('content')
{{ auth()->user()->username }}

{{ auth()->user()->email }}

My Marketers Dashboard
{{ count($team) }} Members

Team Total

${{ number_format(auth()->user()->rebates, 2) }} USDT

Rebate Bonus

@csrf
@csrf
@forelse($members as $member) @if(in_array($member->id, $team)) @if(count($member->referrals) > 0) @else @endif @else @endif @empty @endforelse @php $memberIds = $members->pluck('id')->toArray(); if(!collect($memberIds)->intersect($team)->count()){ $notFound = true; }else{ $notFound = false; } @endphp @if($notFound) No Records Found! @endif
Member Main Balance Rebate Balance Affiliate Status
@if($member->username) {{ ucfirst($member->username) }}
@else {{ ucfirst($member->first_name) . ' ' . ucfirst($member->last_name) . ' (NO STORE)' }}
@endif
$ {{ number_format($member->balance, 2) }} $ {{ number_format($member->rebates, 2) }}ActiveIn-Active
@endsection