@extends('layouts.layout-2') @section('content')

Payment Monitor

Stand: {{ now()->format('d.m.Y H:i') }}
Entwickler-Ansicht
{{-- Ampel-Karten --}}
@php $level = $stats['critical_open'] > 0 ? 'danger' : ($stats['open_incidents'] > 0 ? 'warning' : 'success'); $levelText = $stats['critical_open'] > 0 ? 'Kritische Störung!' : ($stats['open_incidents'] > 0 ? 'Offene Störungen' : 'Alles in Ordnung'); @endphp
{{ $levelText }}
{{ $stats['open_incidents'] }}
Offene Störungen
Zahlungsquote
{{ $transactionStats['success_rate'] }}%
{{ $transactionStats['failed'] }} fehlgeschlagen (30 Tage)
Betroffener Umsatz
{{ number_format($stats['total_affected_revenue'], 0, ',', '.') }} €
bei offenen Incidents
{{-- Anbieter-Status --}}
Anbieter-Status
@foreach($providerStats as $key => $provider)
{{ $provider['label'] }}
@if($provider['open_incidents'] > 0) {{ $provider['open_incidents'] }} Störung(en) @else OK @endif
{{ $provider['total_30d'] }} Incidents (30d)
@endforeach
{{-- Aktive Störungen --}} @if($openIncidents->count() > 0)
Aktive Störungen ({{ $openIncidents->count() }})
@include('admin.payment-dashboard._partials.incident-table', [ 'incidents' => $openIncidents, 'showActions' => false, ])
@endif {{-- Letzte Vorfälle --}}
Letzte Vorfälle
@include('admin.payment-dashboard._partials.incident-table', [ 'incidents' => $recentIncidents, 'showActions' => false, ])
@endsection