@extends('layouts.admin') @section('title', 'Deposits') @section('content')
Customer Amount Method Reference Status Date Actions @forelse($deposits ?? [] as $deposit) {{ $deposit->user->name ?? 'N/A' }} {{ $currency ?? '₦' }}{{ number_format($deposit->amount, 2) }} {{ ucfirst($deposit->method ?? 'Bank Transfer') }} {{ $deposit->reference }} {{ ucfirst($deposit->status) }} {{ $deposit->created_at->format('M d, Y H:i') }}
@if($deposit->status === 'pending')
@csrf @method('PATCH')
@endif
@empty

No deposits found.

@endforelse
@foreach($deposits ?? [] as $deposit) @if($deposit->status === 'pending') @endif @endforeach @endsection