isUpload(), 404); $this->organization = $organization; $this->document = $document; $this->name = $document->name; } public function rename(): void { $validated = $this->validate(['name' => 'required|string|max:255']); $this->document->update($validated); $this->renaming = false; } }; ?>

{{ $organization->name }}

@if ($renaming)
@error('name')

{{ $message }}

@enderror
@else @endif

Fichier importé le {{ $document->created_at->format('d/m/Y à H:i') }} @if ($document->creator) par {{ $document->creator->name }} @endif

@if (str_ends_with(strtolower($document->file_path ?? ''), '.pdf'))
@endif