@extends('layouts.user') @section('title') Withdraw Funds @endsection @section('content')
{{ auth()->user()->username }}

{{ auth()->user()->email }}

Main Balance

${{ number_format(auth()->user()->balance, 2) }} USDT

{{ now()->format('d F Y') }} @if(auth()->user()->balance > 0) Active @else In-Active @endif

Withdraw Funds

{{--

Available Payment Method

--}} @if($withdrawThreshold->description == 1) @if(auth()->user()->wdrwl_count == 0)

You can't make first withdrawal of any amount below $15.

@elseif(auth()->user()->wdrwl_count >= 1)

You can't make a withdrawal of any amount below $50.

@endif @else

You can't make a withdrawal of any amount below ${{ $minWithdraw->description }}.

@endif
@csrf

Enter amount

$

Withdrawal Charges ({{ $charge * 100 }}%):

My Withdrawal History
{{----}} @foreach($withdrawals as $withdrawal) @if($withdrawal->status == 1) @elseif($withdrawal->status == 2) @else @endif {{----}} @endforeach
Amount Status DateAction
- USDT {{ number_format($withdrawal->amount, 2) }}Pending...ApprovedFailed{{ $withdrawal->created_at->format('d F Y') }}View
@endsection