@extends('layouts.app') @section('page-header') @endsection @section('content')

{{ __('Affiliate Program') }}

{{ $referral['referral_headline'] }}

{{ __('My Referral URL') }}
{{ __('My Earned Commissions') }}

{!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_commission[0]['data'], 2, '.', '') }} {{ config('payment.default_currency') }}

{{ __('Referral Commission Rate') }}

{{ config('payment.referral.payment.commission') }}%

{{ __('Referral Policy') }}
@if (config('payment.referral.payment.policy') == 'first')

{{ __('First Successful Payment by Referred Person') }}

@else

{{ __('Every Successful Payment by Referred Person') }}

@endif
{{ __('Referral Guidelines') }}
{{ $referral['referral_guideline'] }}

{{ __('How it Works') }}

{{ __('Send Invitation') }}

{{ __('Send your referral link to your friends and tell them how cool is') }} {{ config('app.name') }}!

{{ __('Registration') }}

{{ __('Let them register using your referral link') }}.

{{ __('Get Commissions') }}
@if (config('payment.referral.payment.policy') == 'first')

{{ __('Earn commission for their first subscription plan payments') }}.

@else

{{ __('Earn commission for all their subscription plan payments') }}.

@endif
@csrf
{{ __('Invite your friends') }}
{{ __('Insert your friends email address and send him an invitations to join') }} {{ config('app.name') }}!
@error('email')

{{ $errors->first('email') }}

@enderror
{{ __('Share the referral link') }}
{{ __('You can also share your referral link by copying and sending it or sharing it on your social media profiles') }}.
@endsection @section('js') @endsection