@extends('layouts.admin_layout') @push('styles') @endpush @section('content')

Withdrawal Requests

Go to main website
View →

Total Requests

{{ number_format($stats['total']) }}

Pending

{{ number_format($stats['pending']) }}

Approved

{{ number_format($stats['approved']) }}

Declined

{{ number_format($stats['declined']) }}

Pending Value

${{ number_format($stats['pending_amount'], 2) }}

Advanced Search & Filters

Showing {{ $withdrawals->firstItem() ?? 0 }} to {{ $withdrawals->lastItem() ?? 0 }} of {{ $withdrawals->total() }} results
Clear Filters
@if(!empty($title))

{{ $title }}

← Back to All
@else

List of Withdrawals

Total: {{ $withdrawals->total() }} requests
@endif
@forelse($withdrawals as $withdrawal) @empty @endforelse
User Main Balance Rebate Balance Withdrawal Wallet Address Type Status Date Actions
USDT {{ number_format($withdrawal->user?->balance, 2) }} USDT {{ number_format($withdrawal->user?->rebates, 2) }} USDT {{ number_format($withdrawal->amount, 2) }}
{{ substr($withdrawal->user?->wallet, 0, 10) }}... @if($withdrawal->user?->wallet) @else No wallet @endif
{{ ucfirst($withdrawal->type) }} @if($withdrawal->status == 1) Pending @elseif($withdrawal->status == 2) Approved @elseif($withdrawal->status == 3) Declined @endif

{{ date('M j, Y', strtotime($withdrawal->created_at)) }}

{{ date('h:i A', strtotime($withdrawal->created_at)) }}

@if($withdrawal->status == 1)
@csrf @method('patch')
@csrf @method('patch')
@elseif($withdrawal->status == 2) Approved @elseif($withdrawal->status == 3) Declined @endif

No withdrawal requests found

Try adjusting your filters or search criteria

@if($withdrawals->hasPages())
@if ($withdrawals->onFirstPage()) Previous @else Previous @endif @if ($withdrawals->hasMorePages()) Next @else Next @endif

Showing {{ $withdrawals->firstItem() }} to {{ $withdrawals->lastItem() }} of {{ $withdrawals->total() }} results

@endif
@endsection