@extends('dashboard.layouts.main') @section('title', 'Core Mining ⛏️- AI Gold Mining ⛏️') @push('styles') @endpush @section('content')

Mining Referral Program

Invite friends and earn commissions on their mining activities

Pending Referral Earnings
${{ number_format($pendingReferralEarnings ?? 0, 2) }}
Total Referrals
{{ $totalReferrals }}
{{--

Referral Earnings Wallet

Your pending earnings ready to claim

${{ number_format($pendingReferralEarnings ?? 0, 2) }}
Minimum $1
@if(($pendingReferralEarnings ?? 0) < 1)
${{ number_format(1 - ($pendingReferralEarnings ?? 0), 2) }} more needed to claim
@else
Ready to claim!
@endif
@if(isset($pendingCommissionsByLevel) && count($pendingCommissionsByLevel) > 0)

Breakdown by Level:

@for($i = 1; $i <= 5; $i++)
Level {{ $i }}
${{ number_format($pendingCommissionsByLevel[$i] ?? 0, 2) }}
@endfor
@endif

You can claim referral earnings when balance reaches $1 or more

--}}

Your Referral Tools

Share your unique link or code to start earning

Referral Link

@php $inviteVersion = @filemtime(public_path('assets/dashboard/images/invite/invite.jpeg')) ?: 1; @endphp

Share this link with your friends

Referral Code

Use this code during registration

Referred By

@if($currentUserReferrer)
Name
{{ $currentUserReferrer->name ?? 'N/A' }}
Email
{{ $currentUserReferrer->email ?? 'N/A' }}
Phone
{{ $currentUserReferrer->phone ?? 'N/A' }}
@else
Status
Not referred by anyone
@endif

Investment Commission Structure

Earn commissions on investments across 5 levels

@foreach($investmentCommissions as $commission)

{{ $commission->level_name }}

Commission Rate

{{ number_format($commission->commission_rate, 2) }}%
@endforeach

Investment Commission Structure

Earn commissions on investments across 5 levels

@foreach($investmentCommissions as $commission)

{{ $commission->level_name }}

Commission Rate

{{ number_format($commission->commission_rate, 2) }}%
@endforeach

Earning Commission Structure

Earn commissions on earning across 5 levels

@foreach($earningCommissions as $commission)
Level {{ $commission->level }}
@if($commission->level == 1) @elseif($commission->level == 2) @elseif($commission->level == 3) @elseif($commission->level == 4) @elseif($commission->level == 5) @else @endif
{{ $commission->level_name }}
{{ number_format($commission->commission_rate, 2) }}% Commission Rate
Earning
@endforeach

Earning Commission Structure

Earn commissions on earning across 5 levels

@foreach($earningCommissions as $commission)
@if($commission->level == 1) @elseif($commission->level == 2) @elseif($commission->level == 3) @elseif($commission->level == 4) @elseif($commission->level == 5) @else @endif
L{{ $commission->level }}
{{ $commission->level_name }}
{{ number_format($commission->commission_rate, 2) }}%
@endforeach

Your Network

View all your referrals and their investments

All @if($currentLevel == 'all') @endif
Level 1 @if($currentLevel == '1') @endif
Level 2 @if($currentLevel == '2') @endif
Level 3 @if($currentLevel == '3') @endif
Level 4 @if($currentLevel == '4') @endif
Level 5 @if($currentLevel == '5') @endif
@if($referrals->count() > 0) @endif @if($referrals->count() > 0) @foreach($referrals as $referral) @endforeach @else @endif
User Info Invested Amount Referral Earning
${{ number_format($referral['referral_earning'], 2) }}
Invested Amount: ${{ number_format($referral['invested_amount'], 2) }}
${{ number_format($referral['invested_amount'], 2) }}
${{ number_format($referral['referral_earning'], 2) }}
{{ $referral['created_at']->format('M d, Y') }}

You don't have any referrals yet

@if($referrals->hasPages()) @php $currentPage = $referrals->currentPage(); $lastPage = $referrals->lastPage(); $startPage = max(1, $currentPage - 2); $endPage = min($lastPage, $currentPage + 2); if ($startPage > 1) { $endPage = min($lastPage, $startPage + 4); } if ($endPage < $lastPage) { $startPage = max(1, $endPage - 4); } @endphp
@if($referrals->onFirstPage()) @else @endif
@if($startPage > 1) 1 @if($startPage > 2) ... @endif @endif @for($page = $startPage; $page <= $endPage; $page++) @if($page == $currentPage) {{ $page }} @else {{ $page }} @endif @endfor @if($endPage < $lastPage) @if($endPage < $lastPage - 1) ... @endif {{ $lastPage }} @endif
@if($referrals->hasMorePages()) @else @endif
@endif
@push('scripts') @endpush @endsection