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

{{ __('Referral') }}

{{ $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') }}

My Earned TTS Credits

{{ number_format($total_credits[0]['data']) }}

Referral Policy

@if (config('payment.referral.payment.policy') == 'first') Only the First Successful Purchase @else All Successful Purchases @endif

Referral Commission Rate

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

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 to our Text to Speech services using your referral link.

Get Commissions

Earn {{ config('payment.referral.payment.commission') }}% commission for @if (config('payment.referral.payment.policy') == 'first') their first prepaid or subscription plan purchase! @else every prepaid or subscription plan purchases! @endif

@csrf
Invite your friends
{{ __('Insert your friend\'s email address and send him/her 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