@extends('layouts.app') @section('title','Referrals') @push('styles') @endpush @section('content')

Your Referral Code

Share this code or link. You both earn 50 Nabola Coins when they sign up.

{{ $user->referral_code }}

Share on WhatsApp Share on Telegram
{{ $refCount }}
Friends Referred
{{ $activeReferrals }}
Have Recycled
{{ $user->referral_coins_earned }}
Coins Earned
{{-- Tier milestones --}}
Referral Tiers @if($currentTier){{ $currentTier['label'] }} ✓@endif
@foreach($tiers as $tier) @php $done = $refCount >= $tier['count']; $isCurrent = $nextTier && $nextTier['count'] === $tier['count']; @endphp
{{ $done ? '✅' : ($isCurrent ? '🎯' : '🔒') }}
{{ $tier['label'] }}
{{ $tier['count'] }} friends
+{{ number_format($tier['bonus']) }} NC
@endforeach
@if($nextTier)
Progress to {{ $nextTier['label'] }} {{ $refCount }} / {{ $nextTier['count'] }}
{{ $nextTier['count'] - $refCount }} more friend{{ ($nextTier['count'] - $refCount) !== 1 ? 's' : '' }} to unlock +{{ number_format($nextTier['bonus']) }} NC bonus
@endif
1

Share Your Code

Send your referral link or code to friends via WhatsApp, Telegram, or any platform.

2

Friend Signs Up

Your friend registers using your code or link and creates their Nabola account.

3

Both Earn 50 NC

You get 50 Nabola Coins instantly. Your friend also gets a 50 NC welcome bonus.

Your Referrals ({{ $referrals->count() }}) @if($activeReferrals > 0){{ $activeReferrals }} have recycled ♻️@endif
@forelse($referrals as $ref) @php $hasRecycled = $ref->wasteLogs()->where('status','confirmed')->exists(); @endphp
{{ strtoupper(substr($ref->name,0,2)) }}
{{ $ref->name }} @if($hasRecycled)♻️ Recycled@endif
Joined {{ $ref->created_at->format('d M Y') }}  ·  {{ $ref->created_at->diffForHumans() }}
+50 NC
@empty
No referrals yet. Share your code to start earning!
@endforelse
@push('scripts') @endpush @endsection