@extends('layouts.admin') @section('title', 'Payment Requests') @section('page-title', 'Payment Requests') @section('content')

Pending Deposits

{{ $pendingDeposits }}

Pending Withdrawals

{{ $pendingWithdrawals }}

@forelse($payments as $p) @empty @endforelse
User Type Amount Method Details Status Date Actions

{{ $p->user->name ?? 'N/A' }}

{{ $p->user->email ?? '' }}

{{ ucfirst($p->type) }} ${{ number_format($p->amount, 2) }} {{ $p->paymentMethod->name ?? 'N/A' }} @if($p->transaction_id)

TxID: {{ $p->transaction_id }}

@endif @if($p->account_details)

Acct: {{ $p->account_details }}

@endif @if($p->notes)

Note: {{ $p->notes }}

@endif
{{ ucfirst($p->status) }} {{ $p->created_at->format('M d, Y H:i') }} @if($p->status === 'pending')
@csrf
@csrf
@else Processed @endif
No payment requests yet.
{{ $payments->links() }}
@endsection