@extends('layouts.app') @section('title', 'M-Pesa Duplicate Cleanup') @section('content') {{-- ═══ HEADER ═══ --}}
Same M-Pesa code + amount + patient appearing more than once. Review each group and delete the extra copies.
No payments share the same M-Pesa code + amount + patient in this date range.
| Created | Visit | Description | Received By | Status | Action |
|---|---|---|---|---|---|
| {{ $p->created_at->format('d M Y H:i:s') }} | {{ $p->invoice?->visit?->visit_number ?? $p->invoice?->invoice_number ?? '—' }} | {{ $p->description ?? '—' }} | {{ $p->receiver->name ?? '—' }} | @if($p->isBankVerified()) ✓ Verified @elseif($idx === 0) Earliest (suggested keep) @else Duplicate copy @endif | @if($p->isBankVerified()) Locked @else @endif |