60 lines
1.4 KiB
PHP
60 lines
1.4 KiB
PHP
Formulaire : {{ $data->enumType->label() }} - LDC
|
|
Prénom : {{ $data->firstname }}
|
|
Nom : {{ $data->lastname }}
|
|
Email : {{ $data->email }}
|
|
|
|
@if (isset($data->town))
|
|
Ville : {{ $data->town }}
|
|
@endif
|
|
|
|
@if(isset($data->postalcode))
|
|
Code Postal : {{ $data->postalcode }}
|
|
@endif
|
|
|
|
@if(isset($data->country))
|
|
Pays : {{ $data->country }}
|
|
@endif
|
|
|
|
@if (isset($data->phone))
|
|
Téléphone : {{ $data->phone }}
|
|
@endif
|
|
|
|
@if (\App\Enums\Contact\ContactFormType::breeder->equals($data->enumType))
|
|
@if (is_iterable($data->typeelevage))
|
|
Type d'élevage :
|
|
@foreach($data->typeelevage as $breeding)
|
|
{{ $breeding->label() }}
|
|
@endforeach
|
|
@endif
|
|
|
|
@if (is_iterable($data->zonegeo))
|
|
Zone géographique :
|
|
@foreach($data->zonegeo as $zone)
|
|
{{ $zone->label() }}
|
|
@endforeach
|
|
@endif
|
|
@endif
|
|
|
|
@if (\App\Enums\Contact\ContactFormType::restauration->equals($data->enumType))
|
|
Société : {{ $data->company }}
|
|
@endif
|
|
|
|
@if (is_iterable($data->type) && \App\Enums\Contact\ContactFormType::restauration->equals($data->enumType))
|
|
Type de demande :
|
|
@foreach($data->type as $t)
|
|
{{ $t->label() }}
|
|
@endforeach
|
|
@endif
|
|
|
|
@if (is_iterable($data->typeExport) && \App\Enums\Contact\ContactFormType::export->equals($data->enumType))
|
|
Type de demande :
|
|
@foreach($data->typeExport as $t)
|
|
{{ $t->label() }}
|
|
@endforeach
|
|
@endif
|
|
|
|
@if (\App\Enums\Contact\ContactFormType::press->equals($data->enumType))
|
|
Sujet : {{ $data->subject->label() }}
|
|
@endif
|
|
|
|
Message : {{ $data->message }}
|