@extends('backend.master') @section('title', 'Withdraw Requests') @push('styles') {{-- Bootstrap Icons --}} @endpush @section('content')
Withdraw Requests
Manage all user withdraw requests with status & TRX id.
Current filter: {{ $status ? $status : 'All' }}
{{-- Flash message --}} @if(session('success'))
{{ session('success') }}
@endif
{{-- Status filter --}}
@if($status) Clear @endif
@if($status)
Showing only {{ $status }} requests
@endif
All requests
@forelse($withdraws as $w) @php $isBank = str_starts_with($w->method,'bank:'); if ($w->status === 'pending') { $statusClass = 'badge-pending'; $statusLabel = 'Pending'; } elseif ($w->status === 'approved') { $statusClass = 'badge-approved'; $statusLabel = 'Approved'; } else { $statusClass = 'badge-rejected'; $statusLabel = 'Rejected'; } @endphp @empty @endforelse
# User Method Account Amount Status TRX ID Requested at Action
{{ $w->id }}
{{ $w->user?->name ?? 'N/A' }}
{{ $w->user?->email ?? '—' }}
@if($isBank) Bank @else Mobile @endif
{{ $w->method }}
{{ $w->account_number }}
@if($w->account_holder)
Holder: {{ $w->account_holder }}
@endif @if($w->branch_name)
Branch: {{ $w->branch_name }}
@endif
{{ number_format($w->amount) }} BDT {{ $statusLabel }} {{ $w->trx_id ?: '—' }} {{ $w->created_at->format('d M, Y H:i') }} Edit
No withdraw requests found.
{{ $withdraws->withQueryString()->links() }}
@endsection