@extends('admin.layouts.app') @section('title', 'Reconciliation — ExtraCash Admin') @section('page-title', 'Reconciliation') @section('breadcrumb', 'Find issues that need finance attention') @section('content')
Export CSV

Date range: {{ $range['from']->format('M d, Y') }} → {{ $range['to']->format('M d, Y') }}

Payments missing provider reference

Usually means gateway callback didn’t store provider ref.

{{ $paymentsMissingProviderRef->total() }} total
@forelse($paymentsMissingProviderRef as $p) @empty @endforelse
Payment ref Amount Date
{{ $p->payment_reference ?? '—' }} ZMW {{ number_format($p->amount ?? 0, 2) }} {{ $p->created_at?->format('M d, H:i') }}
No issues
@if($paymentsMissingProviderRef->hasPages())
{{ $paymentsMissingProviderRef->withQueryString()->links() }}
@endif

Withdrawals stuck

Requested/UnderReview/Processing older than {{ $stuckHours }}h.

{{ $withdrawalsStuck->total() }} total
@forelse($withdrawalsStuck as $w) @empty @endforelse
User Amount Status Requested
{{ $w->user?->name ?? '—' }} ZMW {{ number_format($w->amount ?? 0, 2) }} {{ $w->status?->value ?? $w->status ?? '—' }} {{ $w->created_at?->format('M d, H:i') }}
No issues
@if($withdrawalsStuck->hasPages())
{{ $withdrawalsStuck->withQueryString()->links() }}
@endif

Gateway transaction issues

Wallet transactions with non-success gateway status.

{{ $gatewayTxIssues->total() }} total
@forelse($gatewayTxIssues as $t) @empty @endforelse
Gateway ref Status Amount Date
{{ $t->gateway_reference ?? '—' }} {{ $t->gateway_status ?? '—' }} ZMW {{ number_format($t->amount ?? 0, 2) }} {{ $t->transacted_at?->format('M d, H:i') }}
No issues
@if($gatewayTxIssues->hasPages())
{{ $gatewayTxIssues->withQueryString()->links() }}
@endif
@endsection