@extends($activeTemplate . 'layouts.master') @section('content')
@lang('Available balance')

{{ __(gs('cur_text')) }}{{ showAmount($user->balance, currencyFormat: false) }}

@if (@$user->withdrawSetting->withdrawMethod->status == Status::ENABLE) @lang('You\'ve') @if (@$user->withdrawSetting->amount > $user->balance) {{ showAmount($user->balance) }}@else{{ showAmount(@$user->withdrawSetting->amount) }} @endif @lang('for payout to your wallet.') @else

@lang('Please, setup the payout method for withdrawals.')

@endif @if (@$user->withdrawSetting->withdrawMethod->status == Status::ENABLE)
@lang('Next payout request will create') : {{ showDateTime(@$user->withdrawSetting->next_withdraw_date, 'M d, Y') }}
@endif
@lang('My Payout Mathod')
@if (@$user->withdrawSetting->withdrawMethod->status == Status::ENABLE && @$user->withdrawSetting->withdrawMethod->image)
@lang('Image')
@else
@lang('You\'ve no payout method')
@endif

@lang('Withdraw history')

@forelse ($withdraws as $withdraw) @empty @endforelse
@lang('Date') @lang('Method') @lang('Amount') @lang('Conversion') @lang('Status')
{{ showDateTime($withdraw->created_at, 'd F y') }} @lang('image') {{ gs('cur_sym') }}{{ showAmount($withdraw->amount, currencyFormat: false) }} {{ showAmount(1) }} = {{ showAmount($withdraw->rate, currencyFormat: false) }} {{ __($withdraw->currency) }}
{{ showAmount($withdraw->final_amount, currencyFormat: false) }} {{ __($withdraw->currency) }}
@php echo $withdraw->statusBadge @endphp
@include("Template::partials.empty")
@if ($withdraws->hasPages()) {{ paginateLinks($withdraws) }} @endif
@endsection @push('script') @endpush