2023-07-13 08:34:54 +00:00
|
|
|
@component('mail::message')
|
|
|
|
|
|
|
|
|
|
{{ $data->body }}
|
|
|
|
|
|
|
|
|
|
@if (count($data->attach) === 1)
|
|
|
|
|
<p>{{ __('Brochure :') }}</p>
|
|
|
|
|
@else
|
|
|
|
|
<p>{{ __('Brochures :') }}</p>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@for ($i = 0; $i < count($data->attach); $i++)
|
2023-07-24 12:41:21 +02:00
|
|
|
@component('mail::button', ['url' => $data->attach[$i], 'color' => 'success'])
|
|
|
|
|
{{ $data->filesName[$i] }}
|
|
|
|
|
@endcomponent
|
|
|
|
|
@endfor
|
2023-07-13 08:34:54 +00:00
|
|
|
|
2023-07-24 12:41:21 +02:00
|
|
|
@endcomponent
|