@if ($entity->documents->count() > 0 || $entity->company->documents->count() > 0)

{{ ctrans('texts.attachments') }}:

@foreach ($entity->documents as $document) @endforeach @foreach ($entity->company->documents as $document) @endforeach
@endif