ldc-com-app-bo/resources/views/sendflyer.blade.php
Vincent BRIDIER f01e1501b4 init
2021-01-15 14:47:59 +01:00

17 lines
No EOL
405 B
PHP

@component('mail::message')
{{ $data->body }}
@if (count($data->attach) === 1)
<p style="color: grey; font-size: 16px;">Brochure :</p>
@else
<p style="color: grey; font-size: 16px;">Brochures :</p>
@endif
@for ($i = 0; $i < count($data->attach); $i++)
@component('mail::button', ['url' => $data->attach[$i], 'color' => 'success'])
{{ $data->filesName[$i] }}
@endcomponent
@endfor
@endcomponent