@extends($theme . 'frontend.layouts.master') @section('title', __('Welcome In Home')) @section('content')
@foreach ($rankings as $rank)
@php $rankingIds = auth()->user()->rankings()->pluck('ranking_id')->toArray(); @endphp @php $rank = \App\Models\Ranking::find($rank->id); @endphp @if (in_array($rank->id, $rankingIds))
{{ $rank->title }}

{{ $rank->bonus }} {{ $general->currency }}

{{ __('You are eligible for this level') }}

@else
{{ $rank->title }}

{{ $rank->bonus }} {{ $general->currency }}

{{ __('You are not eligible for this level') }}

@endif
@endforeach
img

{{ round(auth()->user()->balance, 8) }} {{ $general->currency }}

{{ __('Current Balance') }}
img

{{ round($total_earn, 8) }} {{ $general->currency }}

{{ __('Total Earning') }}
img

{{ round($total_withdraw, 8) }} {{ $general->currency }}

{{ __('Total Withdraw') }}
img

{{ round($month_earn, 8) }} {{ $general->currency }}

{{ __('This Month Earn') }}
img

{{ round($month_deposit, 8) }} {{ $general->currency }}

{{ __('This Month Deposit') }}
img

{{ round($month_withdraw, 8) }} {{ $general->currency }}

{{ __('This Month Withdraw') }}
img
{{ round($total_PendingWithdraw, 8) }} {{ $general->currency }}
{{ __('Total Pending Withdraw') }}
img
{{ round($total_fundTransfer, 8) }} {{ $general->currency }}
{{ __('Total Fund Transfer') }}
img
{{ round($month_fundTransfer, 8) }} {{ $general->currency }}
{{ __('This Month Fund Transfer') }}
@endsection @section('script') @endsection