30 lines
2.1 KiB
PHP
30 lines
2.1 KiB
PHP
@component('mail::message')
|
|
|
|
# Bonjour, vous avez un message provenant de {{ config('app.name') }}
|
|
|
|
@component('mail::table')
|
|
| Champs | Valeurs |
|
|
| ---------------------------|:--------------------------:|
|
|
| Prénom | {{ $firstname }} |
|
|
| Nom | {{ $lastname }} |
|
|
| Email | {{ $email }} |
|
|
| Téléphone | {{ $phone }} |
|
|
| Activité | {{ $activityEnum->label }} |
|
|
| Société | {{ $society }} |
|
|
| Code postal | {{ $postcode }} |
|
|
| Ville | {{ $city }} |
|
|
| Message | {{ $message }} |
|
|
| Préférence de rappel | {{ $callTimeEnum->label }} |
|
|
@endcomponent
|
|
|
|
@if (!is_null(Session::get('saveProductInBasket')))
|
|
@component('mail::table')
|
|
| Produit sélectionné | Conditionnement | Calibre |
|
|
| -----------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
@foreach (Session::get('saveProductInBasket') as $key => $selectedProduct)
|
|
| {{ $selectedProduct['product']->label }} | @foreach ($selectedProduct['packaging'] as $key => $packaging){{ $packaging }}@if($loop->iteration != 0 and $loop->iteration != $loop->last), @endif @endforeach | @foreach ($selectedProduct['caliber'] as $key => $caliber){{ $caliber }}@if($loop->iteration != 0 and $loop->iteration != $loop->last), @endif @endforeach |
|
|
@endforeach
|
|
@endcomponent
|
|
@endif
|
|
|
|
@endcomponent
|