@extends('backend.partials.master') @section('title') Payment Verification @endsection @section('maincontent')
@foreach(['pending' => 'Pending', 'approved' => 'Approved', 'rejected' => 'Rejected', 'all' => 'All'] as $key => $label) {{ $label }}@if($key !== 'all') ({{ $counts[$key] ?? 0 }})@endif @endforeach
@forelse($items as $r) {{ $r->created_at->format('d M Y H:i') }} {{ $r->payableReference() }} {{ $r->customer->name ?? '—' }} {{ $r->method }} {{ currency_symbol() }}{{ number_format($r->amount, 2) }} {{ $r->reference ?: '—' }} {{ $r->bankAccount->bank_name ?? '—' }} {{ ucfirst($r->status) }} {{ $r->isPending() ? 'Review' : 'View' }} @empty Nothing here. @endforelse {{ $items->links() }}
@endsection