@extends('layouts.layout-2') @section('content')
Zurück Zahlungen & Transaktionen Rohe Transaktionen
{{-- Stat-Karten --}}
Gesamt
{{ $transactionStats['total'] }}
letzte {{ $transactionStats['days'] }} Tage
Erfolgsrate
{{ $transactionStats['success_rate'] }}%
Bezahlt
{{ $transactionStats['paid'] }}
Fehlgeschlagen
{{ $transactionStats['failed'] }}
@if($transactionStats['error_distribution']->count() > 0)
Fehlercodes (letzte {{ $transactionStats['days'] }} Tage)
@foreach($transactionStats['error_distribution'] as $error) Code {{ $error->errorcode }}: {{ $error->count }}× @if($error->errormessage) — {{ \Illuminate\Support\Str::limit($error->errormessage, 60) }} @endif @endforeach
@endif {{-- Filter --}}
{{-- Transaktions-Tabelle --}}
@forelse($transactions as $tx) @if($tx->transmitted_data) @endif @empty @endforelse
ID Datum Aktion TX-ID Referenz Modus Fehlercode Fehlermeldung
{{ $tx->id }} {{ $tx->created_at->format('d.m.Y H:i') }} @php $actionColor = match($tx->txaction) { 'paid' => 'success', 'failed' => 'danger', 'appointed' => 'info', 'pending' => 'warning', default => 'secondary', }; @endphp {{ $tx->txaction ?? '—' }} {{ $tx->txid ?? '—' }} @if($tx->shopping_payment) {{ $tx->shopping_payment->reference }} @else — @endif @if($tx->mode) {{ $tx->mode }} @endif @if($tx->errorcode) {{ $tx->errorcode }} @endif {{ $tx->errormessage }} @if($tx->customermessage) ({{ \Illuminate\Support\Str::limit($tx->customermessage, 40) }}) @endif @if($tx->transmitted_data) @endif
{{ json_encode($tx->transmitted_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
Keine Transaktionen gefunden.
{{ $transactions->links() }}
@endsection