@if(($attachments ?? collect())->isNotEmpty())

FILE ĐÍNH KÈM

@foreach($attachments as $file) @endforeach
{{ $file->filename }}
@endif