Refer a friend

@if($user->hasRole(['user']))

Invite a friend and get 1 month of Premium for free!

Share your referral code below. For every friend who upgrades to Premium, you’ll get 1 free month on us!

@elseif($user->hasRole(['business']))

Refer a friend and become special partner!

You'll get £5 for every user that buys an annual licence using your referral code

@endif

Your referral code:

{{ $user->referral_code }}
@if($referrals->count() > 0)
{{-- --}} @if($user->hasRole(['user'])) @endif @if($user->hasRole(['user'])) @endif @foreach ($referrals as $referral) {{-- --}} @if($user->hasRole(['user'])) @endif @if($user->hasRole(['user'])) @endif @endforeach
Referrer CodeReferred User Name Referred User Email Referred User Payment Plan Is activatedDate of activation Created atAction
{{ $referral->referral_code }} {{ $referral->referredUser->email }} {{ $referral->referredUser->plan ? $referral->referredUser->plan->name : null }} @if($referral->get_one_month_free_premium) Activated @else Not Activated @endif {{ $referral->get_one_month_free_premium_at ? \Carbon\Carbon::parse($referral->get_one_month_free_premium_at)->format('d-m-Y') : '' }} {{ \Carbon\Carbon::parse($referral->created_at)->format('d-m-Y') }}
{{ $referrals->links() }} @endif