@extends('layouts.app') @section('content')
@if (isset($pageContent) && !is_null($pageContent) && ($pageContent->content_place == 'both' || $pageContent->content_place == 'top'))
{!! $pageContent->page_content_top !!}
@endif
@if (session('status') == '0')
{{ session('message') }}
@endif @if (session('status') == '1')
{{ session('message') }}
@endif
Referral Link {{ url('') }}?referral={{ $user->affiliate_id }}
Commission Rate {{getCurrentCurrencyExchnage($settings->affiliate_commission, $currency_detail->currency_value) }} %
Minimum payout {{ $currency_detail->currency_symbol . ' ' . getCurrentCurrencyExchnage($settings->affiliate_payout, $currency_detail->currency_value) }}
Total visits {{ $user->total_visits }}
Pending referrals {{ $user->pending_referrals }}
Successful referrals {{ $user->successful_referrals }}
Total earnings {{ $currency_detail->currency_symbol . ' ' . getCurrentCurrencyExchnage($user->total_earnings, $currency_detail->currency_value) }}
Available earnings {{ $currency_detail->currency_symbol . ' ' . getCurrentCurrencyExchnage($user->available_earnings, $currency_detail->currency_value) }} @if ($user->available_earnings >= $user->minimum_payout && $user->available_earnings > 0)
@endif
@if (isset($pageContent) && !is_null($pageContent) && ($pageContent->content_place == 'both' || $pageContent->content_place == 'bottom'))
{!! $pageContent->page_content_bottom !!}
@endif
@endsection