@extends('layouts.app') @section('title', 'Incoming Payments') @section('content')

Incoming Payments

Reconcile mobile money and bank transfers that arrive outside the cashier

Total Incoming

KES {{ number_format($summary['total'], 2) }}

Reconciled

KES {{ number_format($summary['reconciled'], 2) }}

Needs Reconciliation

KES {{ number_format($summary['pending'], 2) }}

@foreach ($payments as $p) @endforeach
Reference Source Payer Phone Amount Date Status Actions
{{ $p->reference }} {{ $p->source }} {{ $p->payer }} {{ $p->phone }} KES {{ number_format($p->amount, 2) }} {{ $p->date }} @php $badge = match ($p->status) { 'Reconciled' => 'text-primary', 'Needs reconciliation' => 'text-amber-600', 'Failed', 'Rejected' => 'text-destructive', default => 'text-muted-foreground', }; @endphp {{ $p->status }} @if ($p->receipt_no) ยท {{ $p->receipt_no }} @endif @if ($p->status === 'Needs reconciliation' || $p->status === 'Reconciled' || $p->status === 'Failed')
@if ($p->status !== 'Reconciled')
@csrf
@endif
@csrf
@if ($p->status !== 'Rejected')
@csrf
@endif
Payload
{{ $p->raw_payload }}
@endif
{{ $payments->links() }}
@endsection