{{-- En-tête : logo sur fond sombre, filet à la couleur principale --}}
@if($logo)
@else
{{ $hotelName }}
@endif
|
{{-- Corps du message (modèle des réglages) --}}
| {{ $body }} |
{{-- Récapitulatif du séjour --}}
@if($booking)
| {{ $labels['summary'] }} |
| {{ $labels['reference'] }} | {{ $booking->reference }} |
| {{ $labels['room'] }} | {{ $booking->room?->translate('name', $booking->guest?->language) }} |
| {{ $labels['dates'] }} |
{{ $booking->check_in->format('d.m.Y') }} → {{ $booking->check_out->format('d.m.Y') }} · {{ $booking->nights }} {{ $labels['nights'] }}
@if($checkInTime || $checkOutTime) {{ $checkInTime }} → {{ $checkOutTime }}@endif
|
@if($booking->arrival_time)| {{ $labels['arrival'] }} | {{ $booking->arrival_time }} | @endif
| {{ $labels['guests'] }} | {{ $booking->adults }} {{ $labels['adults'] }}@if($booking->children > 0), {{ $booking->children }} {{ $labels['children'] }}@endif |
@foreach($booking->services as $line)
| | + {{ $line->name }}@if($line->quantity > 1) ×{{ $line->quantity }}@endif · {{ number_format((float) $line->total, 2, '.', "'") }} {{ $booking->currency }} |
@endforeach
| {{ $labels['total'] }} | {{ number_format((float) $booking->total, 2, '.', "'") }} {{ $booking->currency }} |
|
|
@endif
{{-- Coordonnées de paiement (IBAN des réglages), e-mails clients seulement --}}
@if($booking && $iban)
|
{{ $labels['payment'] }}
| {{ $labels['payee'] }} | {{ $hotelName }}@if($payeeAddress), {{ $payeeAddress }}@endif |
| IBAN | {{ $iban }} |
| {{ $labels['paymentRef'] }} | {{ $booking->reference }} |
|
|
@endif
{{-- Bouton + pièce jointe + conditions générales --}}
@if($bookingUrl || $attachmentName || $termsUrl)
|
@if($bookingUrl)
{{ $labels['button'] }}
@endif
@if($attachmentName)
📎 {{ $labels['attachment'] }} {{ $attachmentName }}
@endif
@if($termsUrl)
{{ $labels['terms'] }}
@endif
|
@endif
{{-- Pied de page : coordonnées --}}
{{ $hotelName }}
@if($address) {{ $address }}@endif
@if($phone || $email) {{ $phone }}@if($phone && $email) · @endif{{ $email }}@endif
@if($website) {{ preg_replace('#^https?://#', '', $website) }}@endif
|
|