@extends('layouts.layout-2') @section('content') @if(session('success'))
{{ session('success') }}
@endif

Payment Monitor

Entwickler-Ansicht — {{ now()->format('d.m.Y H:i') }}
{{-- Stat-Karten --}} @include('admin.payment-dashboard._partials.stats-cards') {{-- Anbieter-Status --}}
@foreach($providerStats as $key => $provider) @php $uptime = $uptimeStats[$key] ?? null; @endphp
{{ $provider['label'] }}
@if($uptime && $uptime['last_check']) @if($uptime['last_check']->is_up) Online @else Offline @endif @endif @if($provider['open_incidents'] > 0) {{ $provider['open_incidents'] }} Incident @endif
{{ $provider['total_30d'] }} Incidents (30 Tage)
@if($uptime && $uptime['checks_24h'] > 0)
Uptime 24h: {{ $uptime['uptime_24h'] }}% @if($uptime['failures_24h'] > 0) — {{ $uptime['failures_24h'] }} Ausfälle @endif
@elseif($uptime)
Noch keine Uptime-Daten
@endif
@endforeach
{{-- Tabs --}}
{{-- Tab: Offene Incidents --}}
@include('admin.payment-dashboard._partials.incident-table', [ 'incidents' => $openIncidents, 'showActions' => true, ])
{{-- Tab: Alle Incidents --}}
@include('admin.payment-dashboard._partials.incident-table', [ 'incidents' => $allIncidents, 'showActions' => true, ])
{{ $allIncidents->links() }}
@include('admin.payment-dashboard._partials.create-incident-modal') @endsection