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