@extends('portal.layouts.app') @section('content')

imgMatrixes

SKB Enterprises Llc click the button to join the matrix. Please make your payment as soon as you click to join the matrix. Make sure you submit your transaction details after you send your payment.

Pareto 8020 - $100 - IS100

@foreach($userMatrices as $matrix) @if($matrix->matrix_number === 'P100')
{{$matrix->name ?? ''}}
  • @if($matrix->index ==='0') {{ substr($matrix->user->name, 0, 1) }} @else No users @endif
  • @if(isset($matrix->userIndex[0])) {{ substr($matrix->userIndex[0]->user->name, 0, 1) }} @else No users @endif
    @if(isset($matrix->userIndex[1])) {{ substr($matrix->userIndex[1]->user->name, 0, 1) }} @else No users @endif
  • @if(isset($matrix->userIndex[2])) {{ substr($matrix->userIndex[2]->user->name, 0, 1) }} @else No users @endif
    @if(isset($matrix->userIndex[3])) {{ substr($matrix->userIndex[3]->user->name, 0, 1) }} @else No users @endif
    @if(isset($matrix->userIndex[4])) {{ substr($matrix->userIndex[4]->user->name, 0, 1) }} @else No users @endif
    @if(isset($matrix->userIndex[5])) {{ substr($matrix->userIndex[5]->user->name, 0, 1) }} @else No users @endif

$0 Earned

Added: {{$matrix->created_at->diffForHumans() ?? ''}}

{{$matrix->status ?? ''}}
@endif @endforeach
{{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $250 - IS250

--}} {{--
--}} {{-- @php--}} {{-- $hasSlots = false;--}} {{-- $firstSlot = true;--}} {{-- $uniqueMatrixNumbers = [];--}} {{-- @endphp--}} {{-- @foreach(array_reverse($usersByMatrix) as $matrixData)--}} {{-- @if(!in_array($matrixData['matrix']->matrix_number, $uniqueMatrixNumbers))--}} {{-- @if($matrixData['matrix']->registration_fees == '250.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $uniqueMatrixNumbers[] = $matrixData['matrix']->matrix_number;--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['admin_fees'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- --}}{{--
  • --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[7]) && count($usersByIndex[7]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[7] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[8]) && count($usersByIndex[8]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[8] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[9]) && count($usersByIndex[9]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[9] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[10]) && count($usersByIndex[10]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[10] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[11]) && count($usersByIndex[11]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[11] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[12]) && count($usersByIndex[12]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[12] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[13]) && count($usersByIndex[13]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[13] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[14]) && count($usersByIndex[14]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[14] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $500 - IS500

--}} {{--
--}} {{-- @php--}} {{-- $hasSlots = false;--}} {{-- $firstSlot = true;--}} {{-- $uniqueMatrixNumbers = [];--}} {{-- @endphp--}} {{-- @foreach(array_reverse($usersByMatrix) as $matrixData)--}} {{-- @if(!in_array($matrixData['matrix']->matrix_number, $uniqueMatrixNumbers))--}} {{-- @if($matrixData['matrix']->registration_fees == '500.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $uniqueMatrixNumbers[] = $matrixData['matrix']->matrix_number;--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['admin_fees'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- --}}{{--
  • --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[7]) && count($usersByIndex[7]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[7] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[8]) && count($usersByIndex[8]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[8] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[9]) && count($usersByIndex[9]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[9] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[10]) && count($usersByIndex[10]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[10] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[11]) && count($usersByIndex[11]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[11] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[12]) && count($usersByIndex[12]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[12] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[13]) && count($usersByIndex[13]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[13] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[14]) && count($usersByIndex[14]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[14] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $1000 - IS1000

--}} {{--
--}} {{-- @php--}} {{-- $hasSlots = false;--}} {{-- $firstSlot = true;--}} {{-- $uniqueMatrixNumbers = [];--}} {{-- @endphp--}} {{-- @foreach(array_reverse($usersByMatrix) as $matrixData)--}} {{-- @if(!in_array($matrixData['matrix']->matrix_number, $uniqueMatrixNumbers))--}} {{-- @if($matrixData['matrix']->registration_fees == '1000.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $uniqueMatrixNumbers[] = $matrixData['matrix']->matrix_number;--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{-- // Loop through each item in the collection to sum 'user_earning'--}} {{-- foreach ($collection as $item) {--}} {{-- $totalEarnings += $item['admin_fees'];--}} {{-- }--}} {{-- }--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- --}}{{--
  • --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[7]) && count($usersByIndex[7]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[7] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[8]) && count($usersByIndex[8]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[8] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[9]) && count($usersByIndex[9]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[9] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[10]) && count($usersByIndex[10]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[10] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[11]) && count($usersByIndex[11]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[11] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[12]) && count($usersByIndex[12]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[12] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[13]) && count($usersByIndex[13]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[13] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[14]) && count($usersByIndex[14]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[14] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - P250-AutoBuilder ---}} {{-- P250 - 2500 Ad Credits

--}} {{--
--}} {{-- @php--}} {{-- $hasSlots = false;--}} {{-- $firstSlot = true;--}} {{-- $uniqueMatrixNumbers = [];--}} {{-- @endphp--}} {{-- @foreach(array_reverse($usersByMatrix) as $matrixData)--}} {{-- @if(!in_array($matrixData['matrix']->matrix_number, $uniqueMatrixNumbers))--}} {{-- @if($matrixData['matrix']->registration_fees == '2500.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $uniqueMatrixNumbers[] = $matrixData['matrix']->matrix_number;--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['admin_fees'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- --}}{{--
  • --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[7]) && count($usersByIndex[7]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[7] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[8]) && count($usersByIndex[8]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[8] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[9]) && count($usersByIndex[9]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[9] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[10]) && count($usersByIndex[10]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[10] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[11]) && count($usersByIndex[11]) > 0)--}} {{-- --}}{{-- $positionsCount = 0;--}} {{-- for ($i = 3; $i <= 6; $i++) {--}} {{-- if (isset($usersByIndex[$i]) && count($usersByIndex[$i]) > 0) {--}} {{-- $positionsCount += count($usersByIndex[$i]);--}} {{-- }--}} {{-- }--}} {{-- $earnedAmount = $positionsCount * ($matrix->registration_fees ?? 0); @foreach($usersByIndex[11] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[12]) && count($usersByIndex[12]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[12] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[13]) && count($usersByIndex[13]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[13] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[14]) && count($usersByIndex[14]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[14] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}}
{{-- @if(\Illuminate\Support\Facades\Auth::user()->hasRole('customer'))--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

imgMatrixes

--}} {{--

SKB Enterprises Llc click the button to join the matrix. Please make your--}} {{-- payment as soon as you click to join the matrix.--}} {{-- Make sure you submit your transaction details after you send your payment.--}} {{--

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $100 - IS100

--}} {{--
--}} {{-- @php $hasSlots = false; @endphp--}} {{-- @foreach($usersByMatrix as $matrixData)--}} {{-- @if($matrixData['matrix']->registration_fees == '100.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $matrix = $matrixData['matrix'];--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{-- // Loop through each item in the collection to sum 'user_earning'--}} {{-- foreach ($collection as $item) {--}} {{-- $totalEarnings += $item['user_earning'];--}} {{-- }--}} {{-- }--}} {{-- @endphp--}} {{-- --}}{{-- $positionsCount = 0;--}} {{-- --}}{{-- for ($i = 1; $i <= 6; $i++) {--}} {{-- --}}{{-- if (isset($usersByIndex[$i]) && count($usersByIndex[$i]) > 0) {--}} {{-- --}}{{-- $positionsCount += count($usersByIndex[$i]);--}} {{-- --}}{{-- }--}} {{-- --}}{{-- }--}} {{-- --}}{{-- $eightyPercent = $matrix->registration_fees * 0.80;--}} {{-- --}}{{-- $earnedAmount = $positionsCount * ($eightyPercent ?? 0);--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- --}}{{--
  • --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[7]) && count($usersByIndex[7]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[7] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[8]) && count($usersByIndex[8]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[8] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[9]) && count($usersByIndex[9]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[9] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[10]) && count($usersByIndex[10]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[10] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[11]) && count($usersByIndex[11]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[11] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[12]) && count($usersByIndex[12]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[12] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[13]) && count($usersByIndex[13]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[13] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{-- @if(isset($usersByIndex[14]) && count($usersByIndex[14]) > 0)--}} {{-- --}}{{-- @foreach($usersByIndex[14] as $user)--}} {{-- --}}{{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- --}}{{-- @endforeach--}} {{-- --}}{{-- @else--}} {{-- --}}{{-- No users--}} {{-- --}}{{-- @endif--}} {{-- --}}{{--
    --}} {{-- --}}{{--
    --}} {{-- --}}{{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{-- @if(\Illuminate\Support\Facades\Auth::user()->id == $usersByIndex[0]->first()->user_id && $usersByIndex[0]->first()->index == '0')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $250 - IS250

--}} {{--
--}} {{-- @php $hasSlots = false; @endphp--}} {{-- @foreach($usersByMatrix as $matrixData)--}} {{-- @if($matrixData['matrix']->registration_fees == '250.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $matrix = $matrixData['matrix'];--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{--foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['user_earning'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{-- @if(\Illuminate\Support\Facades\Auth::user()->id == $usersByIndex[0]->first()->user_id && $usersByIndex[0]->first()->index == '0')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $500 - IS500

--}} {{--
--}} {{-- @php $hasSlots = false; @endphp--}} {{-- @foreach($usersByMatrix as $matrixData)--}} {{-- @if($matrixData['matrix']->registration_fees == '500.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $matrix = $matrixData['matrix'];--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{--foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['user_earning'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{-- @if(\Illuminate\Support\Facades\Auth::user()->id == $usersByIndex[0]->first()->user_id && $usersByIndex[0]->first()->index == '0')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - $1000 - IS1000

--}} {{--
--}} {{-- @php $hasSlots = false; @endphp--}} {{-- @foreach($usersByMatrix as $matrixData)--}} {{-- @if($matrixData['matrix']->registration_fees == '1000.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $matrix = $matrixData['matrix'];--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{--foreach ($usersByIndex as $collection) {--}} {{--// Loop through each item in the collection to sum 'user_earning'--}} {{--foreach ($collection as $item) {--}} {{--$totalEarnings += $item['user_earning'];--}} {{--}--}} {{--}--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{-- @if(\Illuminate\Support\Facades\Auth::user()->id == $usersByIndex[0]->first()->user_id && $usersByIndex[0]->first()->index == '0')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Pareto 8020 - P2500-AutoBuilder ---}} {{-- P2500 - 2500 Ad Credits

--}} {{--
--}} {{-- @php $hasSlots = false; @endphp--}} {{-- @foreach($usersByMatrix as $matrixData)--}} {{-- @if($matrixData['matrix']->registration_fees == '2500.00')--}} {{-- @php--}} {{-- $totalEarnings = 0;--}} {{-- $matrix = $matrixData['matrix'];--}} {{-- $usersByIndex = $matrixData['usersByIndex'];--}} {{-- $timeAgo = $matrixData['timeAgo'];--}} {{-- $created_at = $matrixData['createdTime'];--}} {{-- foreach ($usersByIndex as $collection) {--}} {{-- // Loop through each item in the collection to sum 'user_earning'--}} {{-- foreach ($collection as $item) {--}} {{-- $totalEarnings += $item['user_earning'];--}} {{-- }--}} {{-- }--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{-- {{ $matrix->matrix_number ?? '' }}--}} {{--
    --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[0]) && count($usersByIndex[0]) > 0)--}} {{-- @foreach($usersByIndex[0] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{-- @if(isset($usersByIndex[1]) && count($usersByIndex[1]) > 0)--}} {{-- @foreach($usersByIndex[1] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[2]) && count($usersByIndex[2]) > 0)--}} {{-- @foreach($usersByIndex[2] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
  • --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[3]) && count($usersByIndex[3]) > 0)--}} {{-- @foreach($usersByIndex[3] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[4]) && count($usersByIndex[4]) > 0)--}} {{-- @foreach($usersByIndex[4] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[5]) && count($usersByIndex[5]) > 0)--}} {{-- @foreach($usersByIndex[5] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{-- @if(isset($usersByIndex[6]) && count($usersByIndex[6]) > 0)--}} {{-- @foreach($usersByIndex[6] as $user)--}} {{-- {{ substr($user->user->name, 0, 1) }}--}} {{-- @endforeach--}} {{-- @else--}} {{-- No users--}} {{-- @endif--}} {{--
    --}} {{--
    --}} {{--
  • --}} {{--
--}} {{--

${{ $totalEarnings ?? '' }} Earned

--}} {{--

Added: {{ $created_at }}

--}} {{-- {{ $matrix->status ?? '' }}({{ $timeAgo }})--}} {{-- @if(\Illuminate\Support\Facades\Auth::user()->id == $usersByIndex[0]->first()->user_id && $usersByIndex[0]->first()->index == '0')--}} {{-- --}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @php $hasSlots = true; @endphp--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @if(!$hasSlots)--}} {{--

No Slot

--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} @endsection