@if(session('success'))
{{ session('success') }}
@endif
@if(session('warning'))
{{ session('warning') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
| # |
User |
Payment Method |
Amount |
Account Details |
Status |
Date |
Actions |
@forelse($withdrawals as $withdrawal)
| {{ $loop->iteration }} |
{{ $withdrawal->user->name ?? 'N/A' }}
{{ $withdrawal->user->email ?? 'N/A' }}
|
{{ $withdrawal->paymentMethod->account_type ?? 'N/A' }} |
${{ number_format($withdrawal->amount, 2) }}
@if($conversionRate > 0)
@php
$pkrAmount = $withdrawal->amount * $conversionRate;
@endphp
Rs {{ number_format($pkrAmount, 2) }}
@endif
|
{{ $withdrawal->account_holder_name }}
{{ $withdrawal->account_number }}
@if($withdrawal->bank_name)
{{ $withdrawal->bank_name }}
@endif
|
@if($withdrawal->status === 'pending')
Pending
@elseif($withdrawal->status === 'approved')
Approved
@else
Rejected
@endif
|
{{ $withdrawal->created_at->timezone('Asia/Karachi')->format('M d, Y') }}
{{ $withdrawal->created_at->timezone('Asia/Karachi')->format('h:i A') }}
|
|
@empty
| No withdrawals found. |
@endforelse
@endsection
@push('scripts')
@endpush