@php use App\Formatters\BladeFormatter; use App\Models\FavoriteTypeEnum; /** @var \App\Collections\Models\View\Lot\ThumbnailLotCollection $lots */ @endphp @section('head') @parent @vite('resources/scss/partials/lot.scss') @endsection
@foreach($lots->toArray() as $lot)

{{$lot->getProgramName()}}

{{$lot->getTypology()}}

{{$lot->getSurface()}} m²

@if($displayReducedTax && is_int($lot->getTotalPriceReducedTax()) && $lot->getTotalPriceReducedTax() > 0)

{!! BladeFormatter::formatPrice($lot->getTotalPriceReducedTax()) !!} €

@else

{!! BladeFormatter::formatPrice($lot->getTotalPriceTaxIncluded()) !!} €

@endif
Plus d'info @include('partials.favorite', ['isFavorite' => $lot->isFavorite(), 'targetId' => $lot->getId(), 'targetType' => FavoriteTypeEnum::LOT->name])
@endforeach