Files
portal-api/resources/views/emails/partials/attachments.blade.php
T
2026-08-14 08:45:52 +07:00

16 lines
533 B
PHP

@if(($attachments ?? collect())->isNotEmpty())
<p style="color: #f16723;"><strong>FILE ĐÍNH KÈM</strong></p>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; table-layout: fixed;">
<tbody>
@foreach($attachments as $file)
<tr>
<td style="padding: 4px 0; font-size: 14px;">
<a href="{{ $file->url ?? '#' }}" style="color: #f16723; text-decoration: none;">{{ $file->filename }}</a>
</td>
</tr>
@endforeach
</tbody>
</table>
@endif