{{ session('status') }}
@endif
@if ($errors->any())
Bitte prüfe deine Eingaben.
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Details
Versicherung bearbeiten
Kündigung
Hier Kündigung vorbereiten
Die Kündigungsfrist ist erreicht. Kündigung jetzt als PDF erzeugen.
Kündigungsfrist: {{ $noticeDays }} Tage
Frist aktiv seit: {{ $noticeDate->format('d.m.Y') }}
Vertragsende: {{ $insurance->ends_at->format('d.m.Y') }}
Beim Klick wird die Kündigung als PDF direkt heruntergeladen.
Upload
Neue Dokumente hochladen
Dokumente
Vorhandene Unterlagen
📂
Noch keine Dokumente vorhanden
@foreach($insurance->documents as $document)
@php
$isImage = str_starts_with((string) $document->file_type, 'image/');
$isPdf = $document->file_type === 'application/pdf';
$isWord = in_array($document->file_type, [
'application/msword',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
], true);
$fileIcon = $isImage ? '🖼️' : ($isPdf ? '📄' : ($isWord ? '📝' : '📎'));
@endphp
@endforeach
@endif
{{ $fileIcon }}
{{ $document->document_title ?: $document->original_name }}
{{ $documentTypes[$document->document_type] ?? 'Sonstiges' }}
Hochgeladen von: {{ $document->uploadedByUser?->name ?? 'Unbekannt' }}