@if ($entity->documents->count() > 0 || $entity->company->documents->count() > 0 || ($entity->expense && $entity->expense->invoice_documents) || ($entity->task && $entity->company->invoice_task_documents))
{{ ctrans('texts.attachments') }}:
@foreach ($entity->documents()->where('is_public',1)->get() as $document)