@extends('layouts.admin') @section('title', 'Wallet Withdrawals') @push('styles') @endpush @section('content')
@if (session('success'))| ID | User | Amount | Bank | Status / Description | Requested | Actions |
|---|---|---|---|---|---|---|
| #{{ $w->id }} |
{{ $user->name ?? 'Unknown' }}
{{ $user->email ?? '—' }}
|
₦{{ number_format((float) $w->amount, 2) }} |
{{ \Illuminate\Support\Str::limit((string) $w->description, 50) }}
|
@if ($isPending)
Pending
@elseif ($isApproved)
Approved
@elseif ($isRejected)
Rejected
@else
—
@endif
@if ($w->reference_id)
{{ $w->reference_id }}
@endif
|
{{ $w->created_at?->format('M d, Y g:i A') }} | @if ($isPending) @elseif ($isApproved) @endif |
| No {{ $status }} withdrawals. | ||||||