@php $images = $maison->images; $first = $images->first(); @endphp
@if($first)
 }})
@else
 }})
@endif
@if($images->count() > 1)
@foreach($images as $image)
@endforeach
@endif
{{ $maison->title }}
{{ $maison->city }}{{ $maison->country ? ', ' . $maison->country : '' }}
@if($maison->reducted_price > 0 && $maison->reducted_price < $maison->price)
{{ display_price($maison->reducted_price, $maison->currency) }}
{{ display_price($maison->price, $maison->currency) }}
@else
{{ display_price($maison->price, $maison->currency) }}
@endif
@php
$typeLabel = $maison->property_type ? __('viki.ptype_'.$maison->property_type) : null;
$rentalLabel = $maison->rental_type ? __('viki.rtype_'.$maison->rental_type) : null;
@endphp
@if($typeLabel || $rentalLabel)
@if($typeLabel){{ $typeLabel }}@endif
@if($rentalLabel){{ $rentalLabel }}@endif
@endif
@if($maison->surface)
- {{ __('viki.detail_surface') }} : {{ $maison->surface }} m²
@endif
@if($maison->rooms)
- {{ __('viki.detail_rooms') }} : {{ $maison->rooms }}
@endif
@if($maison->bedrooms)
- {{ __('viki.detail_bedrooms') }} : {{ $maison->bedrooms }}
@endif
@if($maison->beds)
- {{ __('viki.detail_beds') }} : {{ $maison->beds }}
@endif
@if($maison->bathrooms)
- {{ __('viki.detail_bathrooms') }} : {{ $maison->bathrooms }}
@endif
@if($maison->capacity)
- {{ __('viki.detail_capacity') }} : {{ $maison->capacity }} {{ __('viki.detail_travelers') }}
@endif
@if(!is_null($maison->floor))
- {{ __('viki.detail_floor') }} : {{ $maison->floor == 0 ? __('viki.detail_ground_floor') : $maison->floor }}
@endif
@if($maison->address)
- {{ $maison->address }} {{ $maison->postal_code }} {{ $maison->city }}
@endif
{{-- Conditions & tarifs annexes --}}
@if($maison->min_nights || $maison->checkin_time || $maison->cleaning_fee || $maison->deposit)
@if($maison->min_nights)
- {{ __('viki.detail_min_stay') }} : {{ $maison->min_nights }} {{ __('viki.detail_nights') }}
@endif
@if($maison->checkin_time || $maison->checkout_time)
- {{ __('viki.detail_arrival') }} {{ $maison->checkin_time ?? '—' }} · {{ __('viki.detail_departure') }} {{ $maison->checkout_time ?? '—' }}
@endif
@if($maison->cleaning_fee)
- {{ __('viki.detail_cleaning_fee') }} : {{ display_price($maison->cleaning_fee, $maison->currency) }}
@endif
@if($maison->deposit)
- {{ __('viki.detail_deposit') }} : {{ display_price($maison->deposit, $maison->currency) }}
@endif
@endif
{{-- Règlement --}}
{{ $maison->pets_allowed ? '✅' : '🚫' }} {{ __('viki.rule_animals') }}
{{ $maison->smoking_allowed ? '✅' : '🚫' }} {{ __('viki.rule_smoking') }}
{{ $maison->parties_allowed ? '✅' : '🚫' }} {{ __('viki.rule_parties') }}
{{ $maison->children_allowed ? '✅' : '🚫' }} {{ __('viki.rule_children') }}
@if($maison->owner)
{{ __('viki.detail_proposed_by') }} {{ $maison->owner->name }}
@endif