@extends('admin.layouts.main') @push('styles') @endpush @section('content')

Withdrawals Management

@if(session('success')) @endif @if(session('warning')) @endif @if(session('error')) @endif
@forelse($withdrawals as $withdrawal) @empty @endforelse
# User Payment Method Amount Account Details Status Date Actions
{{ $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') }}
No withdrawals found.
@endsection @push('scripts') @endpush