@php // Ne pas afficher cette page si le programme n'existe pas (simulateur indépendant) $shouldDisplayPage = isset($program) && $program; @endphp @if($shouldDisplayPage) @php // Les données sont calculées par LesInformationsEssentiellesSurMonProgrammeCalculator $interiorImage = $interiorImage ?? base_url('assets/img/bulles.jpg'); $addressLine1 = $addressLine1 ?? ''; $postalCode = $postalCode ?? ''; $city = $city ?? ''; $numberOfLots = $numberOfLots ?? 0; $ecologicalNorm = $ecologicalNorm ?? ''; $promoter = $promoter ?? ''; $deliveryDateFormatted = $deliveryDateFormatted ?? ''; $notaryName = $notaryName ?? ''; $notaryFirstName = $notaryFirstName ?? ''; $notaryCompany = $notaryCompany ?? ''; @endphp
@include('simulator.templates.shared._titre_page', ['titreContent' => 'Les informations essentielles sur mon programme'])
@php $svgOndesUp = file_get_contents(public_path('assets/img/mozartpp/ondes-up.svg')); $svgOndesUp = str_replace('#1d1d1b', 'currentColor', $svgOndesUp); $svgOndesUp = preg_replace('/{!! $svgOndesUp !!}
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'adresse', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Adresse
{{ $addressLine1 }},
{{ $postalCode }} {{ $city }}
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'appartements', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Nombre de logements
{{ $numberOfLots }} logements
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'norme-th', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Norme thermique
{{ $ecologicalNorm }}
@if(!empty($notaryName) && trim($notaryName) !== "")
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'picto-notaire', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Notaire
{{ $notaryFirstName }} {{ $notaryName }}
{{ $notaryCompany }}
@endif
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'promoteur', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Promoteur
{{ $promoter }}
@include('simulator.templates.shared._pictoSynthese', [ 'picto' => 'livraison', 'primaryHex' => $primaryColor ?? '#d6bd85' ])
Date de livraison prévue
{{ $deliveryDateFormatted }}
@include('simulator.templates.shared._pictoLosanges', ['width' => 150])
@endif