@extends('backend.master') @push('styles') {{-- Font Awesome 6 --}} @endpush @section('content')
| # | User | Amount | Method | Reference | Status | Requested | Actions |
|---|---|---|---|---|---|---|---|
| #{{ $d->id }} |
{{ $d->user?->name }}
@if($d->payer_phone || $d->user?->phone || $d->user?->email)
{{ $d->payer_phone ?? $d->user?->phone ?? $d->user?->email }}
@endif
|
{{ number_format($d->amount, 2) }} | {{ $d->method?->name ?? 'Method' }} | {{ $d->reference }} | @php $badgeClass = match($d->status) { 'approved' => 'bg-success', 'rejected' => 'bg-danger', default => 'bg-warning text-dark' }; $icon = match($d->status) { 'approved' => 'fa-circle-check', 'rejected' => 'fa-circle-xmark', default => 'fa-hourglass-half' }; @endphp {{ ucfirst($d->status) }} | {{ $d->created_at?->format('Y-m-d H:i') }} | {{-- Details --}} {{-- Proof --}} @if($d->proof_path) Proof @endif @if($d->status === 'pending') @else Processed @endif |
| No deposits found. | |||||||