@extends('admin.layouts.home') @section('title', 'Withdraw Request Details') @section('content')

Withdraw Request Details

User Information
ID: {{ $withdrawRequest->user->id }}
User Profile
{{ $withdrawRequest->user->name }}

{{ $withdrawRequest->user->email }}

{{ $withdrawRequest->user->status ? 'Active' : 'Inactive' }}


${{ number_format($withdrawRequest->user->wallet->balance ?? 0, 2) }}
Balance
{{ $withdrawRequest->user->total_withdrawals ?? 0 }}
Withdrawals
{{ $withdrawRequest->user->created_at->format('M Y') }}
Joined
Withdraw Request #{{ $withdrawRequest->id }} @if($withdrawRequest->status == 1) Pending @elseif($withdrawRequest->status == 2) Approved @else Rejected @endif
Back to List
@php $withdrawMethod = [ 1=>'Stripe', 2=>'Paypal', 3=>'Flutterwave', 4=>'Paystack' ]; @endphp
Amount Requested

${{ number_format($withdrawRequest->amount, 2) }}

Payment Method

{{ $withdrawMethod[$withdrawRequest->type] ?? $withdrawRequest->type }}

Payment Details
@if($withdrawRequest->type == 'Bank')

Bank Name:
{{ $withdrawRequest->bank_name }}

Account Number:
{{ $withdrawRequest->bank_account_no }}

Account Holder:
{{ $withdrawRequest->full_name }}

SWIFT Code:
{{ $withdrawRequest->swift_code }}

IBAN:
{{ $withdrawRequest->iban }}

Country:
{{ $withdrawRequest->country }}

@else

PayPal Email:
{{ $withdrawRequest->paypal_email }}

@endif
Request Timeline
Request Created
{{ $withdrawRequest->created_at->format('M d, Y H:i:s') }}
@if($withdrawRequest->status != 1)
Request {{ $withdrawRequest->status == 2 ? 'Approved' : 'Rejected' }}
{{ $withdrawRequest->updated_at->format('M d, Y H:i:s') }}
@endif
@if($withdrawRequest->status == 1)
Take Action
@csrf @method('PUT')
@endif
@endsection