@extends('layouts.app') @section('title', 'Payments') @section('content')
{{ $transactions->total() }} transaction(s) in this view.
| Reference | Date | Customer | Method | Gateway | Amount | Allocated | Status | Collected by | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $tx->reference }} | {{ $tx->paid_at?->format('d M Y H:i') ?: '—' }} | {{ $tx->customer->display_name }} | {{ title_case_words($tx->method) }}
@if ($tx->payer_reference) {{ $tx->payer_reference }} @endif |
{{ $tx->gateway?->name ?: '—' }} | {{ money($tx->amount, $tx->currency) }}
@if ($tx->fee_amount > 0) fee {{ money($tx->fee_amount, $tx->currency) }} @endif |
{{ money($tx->amount_allocated, $tx->currency) }} | {{ $tx->status }} | {{ $tx->collector?->name ?: 'Gateway' }} | Receipt @if ($tx->status === 'success') @endif |
| @include('components.empty-state', ['icon' => '💳', 'title' => 'No payments found', 'message' => 'Record a payment to begin.', 'action' => '+ Record payment']) | |||||||||