@extends('admin.layouts.app') @section('title', 'Withdrawal Requests') @section('content')
ID | User | Amount | Payment Method | Status | Date | Actions |
---|---|---|---|---|---|---|
{{ $withdrawal->id }} |
{{ $withdrawal->user_name }}
{{ $withdrawal->user_email }} |
${{ number_format($withdrawal->amount, 2) }} |
Method:
{{ isset($withdrawal->account_details['payment_method']) ? ucfirst($withdrawal->account_details['payment_method']) : 'Bank' }} @if (isset($withdrawal->account_details['payment_method']) && $withdrawal->account_details['payment_method'] === 'paypal') Email: {{ $withdrawal->account_details['paypal_email'] ?? 'N/A' }} @elseif(isset($withdrawal->account_details['payment_method']) && $withdrawal->account_details['payment_method'] === 'crypto') Network: {{ $withdrawal->account_details['crypto_network'] ?? 'N/A' }} Address: {{ $withdrawal->account_details['crypto_address'] ?? 'N/A' }} @else Bank: {{ $withdrawal->account_details['bank'] ?? 'N/A' }} Title: {{ $withdrawal->account_details['title'] ?? 'N/A' }} Number: {{ $withdrawal->account_details['number'] ?? 'N/A' }} @endif |
{{ $withdrawal->status }} | {{ \Carbon\Carbon::parse($withdrawal->created_at)->format('Y-m-d H:i') }} |
@if ($withdrawal->status === 'pending')
|