@extends('layouts.dashboard') @section('page-title', 'Incident #' . $incident->id) @section('content')
← Zurück {{ ucfirst($incident->severity) }} {{ $incident->status_label }} {{ $incident->provider_label }} · {{ $incident->detected_at->format('d.m.Y H:i') }} · {{ $incident->duration }}
{{-- ── Incident-Details ── --}}
Incident-Details
{{ $incident->title }}
@if($incident->description)
{{ $incident->description }}
@endif @if($incident->resolved_at) @endif @if($incident->ticket_number) @endif @if($incident->affected_orders > 0) @endif @if($incident->affected_revenue > 0) @endif
Anbieter {{ $incident->provider_label }}
Typ {{ $incident->type }}
Erkannt {{ $incident->detected_at->format('d.m.Y H:i') }} Uhr
Gelöst {{ $incident->resolved_at->format('d.m.Y H:i') }} Uhr
Dauer {{ $incident->duration }}
Ticket-Nr. {{ $incident->ticket_number }}
Bestellungen {{ $incident->affected_orders }} betroffen
Umsatz {{ number_format($incident->affected_revenue, 2, ',', '.') }} €
{{-- Status ändern --}}
Status aktualisieren
@csrf @method('PATCH')
{{-- Aktivität hinzufügen --}}
Aktivität hinzufügen
@csrf
{{-- ── Aktivitäts-Timeline ── --}}
Kommunikations-Verlauf ({{ $incident->activities->count() }} Einträge)
@if($incident->activities->count() > 0)
@foreach($incident->activities->sortByDesc('created_at') as $activity)
{{ $activity->type_icon }} {{ $activity->title }}
{{ $activity->type_label }} · {{ $activity->author }} · {{ $activity->created_at->format('d.m.Y H:i') }} Uhr · {{ $activity->created_at->diffForHumans() }}
@if($activity->content)
{{ $activity->content }}
@endif
@endforeach
@else
Noch keine Aktivitäten erfasst.
@endif
@endsection