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

{{ __('Affiliate Program') }}

@if (config('payment.referral.payment.policy') == 'first')

{{ __('Invite your friends and earn commissions from the first purchase they make') }}.

@else

{{ __('Invite your friends and earn lifelong recurring commissions from every purchase they make') }}.

@endif
{{ __('Referral Link') }}
{{ __('Referred') }}

{{ $total_referred[0]['data'] }}

{{ __('Earnings') }}

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

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

1. {{ __('Send Invitation') }}

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

2. {{ __('Registration') }}

{{ __('Let your friends register using your referral link that you shared') }}.

3. {{ __('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

{{ __('Payout Request') }}

{{ __('Set your payout details and receive your commissions') }}

@csrf
user()->referral_payment_method == 'PayPal') checked @endif style="vertical-align: middle;">
user()->referral_payment_method == 'BankTransfer') checked @endif style="vertical-align: middle;">
{{ __('PayPal ID') }}
@error('paypal')

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

@enderror
{{ __('Bank Account Requisites') }}
@error('bank_requisites')

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

@enderror
{{ __('Requested Amount') }}
@error('payout')

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

@enderror

{{ __('My Payout Requests') }} ({{ __('All Time') }})

{{ __('Requested Date') }} {{ __('Request ID') }} {{ __('Total Amount') }} ({{ config('payment.default_system_currency') }}) {{ __('Preferred Payment Gateway') }} {{ __('Status') }} {{ __('Actions') }}

{{ __('Earned Commissions') }} ({{ __('All Time') }})

{{ __('Purchase Date') }} {{ __('Order ID') }} {{ __('Total Payment') }} ({{ config('payment.default_system_currency') }}) {{ __('Commision Rate') }} {{ __('Earned Commissions') }} ({{ config('payment.default_system_currency') }})
@endsection @section('js') @endsection