@extends('layouts.user') @section('content')
icon
Main Balance

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

@if(auth()->user()->balance > 0) Active Balance @else In-Active Balance @endif
icon
Rebate Bonus

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

@if(auth()->user()->rebates > 0) Active Balance @else In-Active Balance @endif
icon
Team Total

{{ count($team) }}

@if(auth()->user()->rebates > 0) Active Team @else In-Active Team @endif

Rebate Earnings

@forelse($rebates as $rebate) @if(in_array($rebate->user_id, $team)) @else @endif @empty

You have not yet received any rebate bonuses!

@endforelse
Received From
Username
Amount
avatar

{{ $rebate->user->first_name }} {{ $rebate->user->last_name }}
{{ $rebate->user->email }}

{{ $rebate->user->username }}

+ USDT {{ auth()->user()->first_rebate/100 * $rebate->amount }}

@endsection