ldc-com-app-bo/resources/views/sendflyer.blade.php

17 lines
405 B
PHP
Raw Normal View History

2021-01-15 14:47:59 +01:00
@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