@extends('layouts.theme') @php $user = Auth::user(); @endphp @section('title',__('Affiliate Dashboard').' | ') @section('main-wrapper')
{{ __("How it works ?") }}

{{ __('Affiliate Dashboard') }}


{{__("Start refering your friends and start earning !!")}}


{{__("This is your unique refer link share with your friends and family and start earning !")}}

{{ __("Copy Link") }}
@if($aff_history->count())

{{ __('Total earning') }} {{ $earning }}

{{ __('Affiliate history') }}


@foreach($aff_history as $history)
{{ __('+') }} {{ sprintf("%.2f",$history->amount,2) }} {{ $history->log }} @if($history->procces == 0) ({{ __("Pending") }}) @else ({{ __("Credited to wallet") }}) @endif

@endforeach @endif @if(isset($aff_history))
{!! $aff_history->links() !!}
@endif
@endsection @section('script') @endsection