Numéro d'identification de l'annexe
@php
$annexeSurface = $existingAnnexe->surfaces->first();
@endphp
@if($annexeSurface)
@endif
@if($existingAnnexe->type->priceable())
@php
$salePrices = $existingAnnexe->prices->filter(function($price) {
return in_array($price->type, ['prix_ht', 'prix_ttc', 'prix_tva_5_5', 'prix_tva_10']);
})->values();
$salePriceIdx = 0;
@endphp
@foreach($salePrices as $price)
@php $salePriceIdx++; @endphp
@endforeach
@endif
@if($existingAnnexe->type->rentable())
@php
$rentalPrices = $existingAnnexe->prices->filter(function($price) {
return in_array($price->type, ['mensuel_garage', 'mensuel_parking', 'mensuel_ttc', 'mensuel_ht', 'mensuel_denormandie_ttc', 'mensuel_denormandie_ht']);
})->values();
$rentalIndex = 0;
@endphp
@foreach($rentalPrices as $price)
@php $rentalIndex++; @endphp
@endforeach
@endif