@php use App\Formatters\BladeFormatter; use App\Models\Action; use App\Models\Favorite; use App\Models\Search; @endphp @if(empty($sessions) === false)

Sessions

@foreach ($sessions as $session) @endforeach
Date
{{ $session }}
@endif @if(empty($programs) === false)

Programmes

@php /** @var Action $action */ @endphp @foreach ($programs as $action) @endforeach
Horodatage Nom du programme ID Code postal Ville
{{ $action->getCreatedAt()->setTimezone(new DateTimeZone('Europe/Paris'))->format('d-m-Y H:i') }} {{ $action->getLinkedModelWithTrashed()?->getTitle() }} {{ $action->getLinkedModelWithTrashed()?->getId() }} {{ $action->getLinkedModelWithTrashed()?->getPostalCode() }} {{ $action->getLinkedModelWithTrashed()?->getCity() }}
@endif @if(empty($lots) === false)

Lots

@php /** @var Action $action */ @endphp @foreach ($lots as $action) @endforeach
Horodatage N° de Lot Nom du programme Surface Prix total
{{ $action->getCreatedAt()->setTimezone(new DateTimeZone('Europe/Paris'))->format('d-m-Y H:i') }} {{ $action->getLinkedModelWithTrashed()?->getTitle() }} {{ $action->getLinkedModelWithTrashed()?->getProgram()->getTitle() }} {{ $action->getLinkedModelWithTrashed()?->getLivingSurface() }} m2 {{ $action->getLinkedModelWithTrashed()?->getPriceTaxIncluded() }} €
@endif @if(empty($searches) === false)

Coach

@php /** @var Search $search */ @endphp @foreach ($searches as $search) @if ($search->hasBudget() === false) @if(is_int($search->getMonthlyPayment())) @endif @if(is_int($search->getDuration())) @endif @if(is_float($search->getRate())) @endif @if(is_int($search->getContribution())) @endif @endif
Horodatage : {{ $search->getCreatedAt()->setTimezone(new DateTimeZone('Europe/Paris'))->format('d/m/Y H:i') }}
Nombre de chambre {{ $search->getRoom()->getLabel() }}
Nombre d'enfant {{ $search->getChildren()->getLabel() }}
Situation familiale {{ $search->getMarital()->value}}
Situation actuelle {{ $search->getSituation()->value }}
Objectif {{ $search->getLookingFor()->getLabel() }}
A saisi directement son budget {{ $search->hasBudget() ? 'Oui' : 'Non' }}
Budget {{ $search->getBudget() }} €
Mensualitée souhaité {{ $search->getMonthlyPayment() }} €
Durée du crédit souhaité {{ $search->getDuration() }} ans
Taux du crédit {{ $search->getRate() }}%
Apport personnel {{ $search->getContribution() }} €
@endforeach @endif @if(empty($favorites) === false)

Comparateur

@php /** @var Favorite $favorite */ @endphp @foreach ($favorites as $favorite) @endforeach
Horodatage N° de Lot Nom du programme Surface Prix total
{{ $favorite->getCreatedAt()->setTimezone(new DateTimeZone('Europe/Paris'))->format('d/m/Y H:i') }} {{ $favorite->getLot()->getTitle() }} {{ $favorite->getLot()->getProgram()->getTitle() }} {{ $favorite->getLot()->getLivingSurface() }} {{ $favorite->getLot()->getPriceTaxIncluded() }}
@endif