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

Bank Withdrawals

Every payout is reviewed by hand. The money has already left the user's balance, so declining returns it. Approving only unlocks the send step, it does not move anything on its own.

FIAT · REMVO
Awaiting approval
{{ $stats['pending'] }}
${{ number_format($stats['pending_usd'], 2) }} held
Needs a name check
{{ $stats['review'] }}
not an exact match
In flight
{{ $stats['processing'] }}
sent, not confirmed
Paid all time
${{ number_format($stats['paid_usd'], 2) }}
settled to banks
@if(session('message'))
{{ session('message') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@foreach(['pending_approval' => 'Awaiting', 'approved' => 'Approved', 'processing' => 'In flight', 'paid' => 'Paid', 'declined' => 'Declined', 'failed' => 'Failed', 'all' => 'All'] as $key => $label) {{ $label }} @endforeach
@if($rows->isEmpty())

Nothing here

No withdrawals match this filter.

@else @foreach($rows as $r) @php $detail = $r->name_match_detail ? json_decode($r->name_match_detail, true) : null; $geasName = trim($r->first_name . ' ' . $r->last_name); @endphp
${{ number_format($r->amount_usd, 2) }} #{{ $r->id }} · {{ $r->currency_code }}
User
{{ $r->username }}
{{ $r->email }}
balance now ${{ number_format($r->balance, 2) }}
Destination
{{ $r->bank_name }}
{{ $r->account_number }}
Status
@if($r->status === 'paid') @elseif(in_array($r->status, ['declined','failed','cancelled'])) {{ ucfirst($r->status) }} @else {{ str_replace('_', ' ', $r->status) }} @endif
{{ $r->created_at ? \Carbon\Carbon::parse($r->created_at)->format('d M Y H:i') : '' }}
@if($r->decline_reason)
{{ $r->decline_reason }}
@endif
{{-- Both names, always. A verdict is a summary; the reviewer needs the two strings to judge. --}}
Name on GE-AS
{{ strtoupper($geasName) }}
Name at the bank {{ $r->name_match }}
{{ strtoupper($r->account_name) }}
@if($detail && !empty($detail['reason']))
{{ $detail['reason'] }}
@endif
@if($r->status === 'approved')
Send this amount
{{ number_format($r->amount_usd, 2) }} USDT
To this wallet (SPL, Solana)
@if($wallet !== '') {{ $wallet }} @else REMVO_PAYOUT_WALLET is not set. Do not send anything. @endif
@endif
@if($r->status === 'pending_approval')
@csrf
@csrf
@elseif($r->status === 'approved')
@csrf
@csrf
@elseif($r->status === 'processing')
{{ $r->tx_hash }}
@csrf
@csrf
@else
@if($r->tx_hash) {{ $r->tx_hash }} @else No further action. @endif
@endif
@endforeach
{{ $rows->links() }}
@endif
@endsection