{{-- Gabarit unique des e-mails de course : les quatre messages (demande, acceptation, refus, paiement) décrivent la même course, seuls le titre, l'introduction et le bouton changent. Un seul gabarit évite d'entretenir quatre mises en page identiques. $booking : la course $title : titre de l'e-mail $intro : phrase d'accroche $ctaUrl : lien du bouton (facultatif) $ctaLabel : libellé du bouton (facultatif) $notice : encart complémentaire (facultatif) $contact : coordonnées à révéler (tableau libellé => valeur, facultatif) $callUrl : lien « tel: » du bouton d'appel (facultatif) $callLabel : libellé du bouton d'appel --}} {{ $title }}
{{ __('chauffeur.brand') }}

{{ $title }}

{{ $intro }}

@if (!empty($ctaUrl) && !empty($ctaLabel))
{{ $ctaLabel }}
@endif {{-- Appel direct : sur un téléphone, le lien « tel: » ouvre l'application d'appel avec le numéro déjà composé. --}} @if (!empty($callUrl) && !empty($callLabel))
📞  {{ $callLabel }}
@endif

{{ __('chauffeur.mail_booking_details') }}

@if ($booking->range_label) @endif @if ($booking->dropoff_address) @endif @if ($booking->passengers) @endif @if ($booking->estimated_km) @endif @if ($booking->total_amount) @endif @if ($booking->client_message) @endif @if ($booking->chauffeur_message) @endif
{{ __('chauffeur.booking_reference') }} #{{ $booking->id }}
{{ __('chauffeur.booking_when') }} @if ($booking->isImmediate()) {{ __('chauffeur.booking_mode_now') }} @else {{ $booking->scheduled_at?->translatedFormat('l j F Y — H\hi') }} @endif
{{ __('chauffeur.booking_range') }} {{ $booking->range_label }}
{{ __('chauffeur.booking_pickup') }} {{ $booking->pickup_address }}
{{ __('chauffeur.booking_dropoff') }} {{ $booking->dropoff_address }}
{{ __('chauffeur.booking_passengers') }} {{ $booking->passengers }}
{{ __('chauffeur.booking_estimate') }} {{ number_format((float) $booking->estimated_km, 1, ',', ' ') }} km @if ($booking->estimated_amount) — {{ number_format((float) $booking->estimated_amount, 2, ',', ' ') }} {{ $booking->currency }} @endif
{{ __('chauffeur.booking_amount') }} {{ number_format((float) $booking->total_amount, 2, ',', ' ') }} {{ $booking->currency }}
{{ __('chauffeur.booking_message') }} {{ $booking->client_message }}
{{ __('chauffeur.booking_driver_message') }} {{ $booking->chauffeur_message }}
@if (!empty($contact))

{{ __('chauffeur.mail_booking_contact') }}

@foreach ($contact as $label => $value) @if ($value) @endif @endforeach
{{ $label }} {{ $value }}
@endif @if (!empty($notice))

{{ $notice }}

@endif

{{ config('app.name') }}