@extends('layouts.app') @section('title', 'Withdrawal History - ' . config('app.name')) @section('content')

Withdrawal History

View all your withdrawal requests

Total Requests

{{ $withdrawals->total() }}

Approved

{{ $withdrawals->where('withdraw_status', 1)->count() }}

Pending

{{ $withdrawals->where('withdraw_status', 0)->count() }}

Rejected

{{ $withdrawals->where('withdraw_status', 2)->count() }}

All Withdrawals

@if($withdrawals->count() > 0)
@foreach($withdrawals as $withdrawal) @endforeach
Date Amount Method Status Notes
{{ $withdrawal->created_at->format('M d, Y H:i') }} ${{ number_format($withdrawal->amount, 2) }} @if($withdrawal->withdraw_method_id == 1) PayPal @elseif($withdrawal->withdraw_method_id == 2) Bank Transfer @else Other @endif @if($withdrawal->withdraw_status == 1) Approved @elseif($withdrawal->withdraw_status == 0) Pending @elseif($withdrawal->withdraw_status == 2) Rejected @endif @if($withdrawal->notes) {{ Str::limit($withdrawal->notes, 50) }} @else - @endif
@if($withdrawals->hasPages())
{{ $withdrawals->links('pagination::bootstrap-5') }}
@endif @else

No withdrawal requests found

Your withdrawal history will appear here

Request Withdrawal
@endif

Pending

Your withdrawal request is being reviewed. This usually takes 2-5 business days.

Approved

Your withdrawal has been approved and will be processed to your selected payment method.

Rejected

Your withdrawal was rejected. Please check the notes for more information.

@endsection