@extends('layouts.dashboard')
@section('page-title', 'Incident #' . $incident->id)
@section('content')
{{-- ── Incident-Details ── --}}
Incident-Details
{{ $incident->title }}
@if($incident->description)
{{ $incident->description }}
@endif
| Anbieter |
{{ $incident->provider_label }} |
| Typ |
{{ $incident->type }} |
| Erkannt |
{{ $incident->detected_at->format('d.m.Y H:i') }} Uhr |
@if($incident->resolved_at)
| Gelöst |
{{ $incident->resolved_at->format('d.m.Y H:i') }} Uhr |
@endif
| Dauer |
{{ $incident->duration }} |
@if($incident->ticket_number)
| Ticket-Nr. |
{{ $incident->ticket_number }} |
@endif
@if($incident->affected_orders > 0)
| Bestellungen |
{{ $incident->affected_orders }} betroffen |
@endif
@if($incident->affected_revenue > 0)
| Umsatz |
{{ number_format($incident->affected_revenue, 2, ',', '.') }} € |
@endif
{{-- Status ändern --}}
{{-- Aktivität hinzufügen --}}
{{-- ── 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