{% extends 'base.html.twig' %} {% block title %} Détail de la propriété : {{ property.title }} {% endblock %} {% block body %}

Partager

Générer une fiche PDF {% if property.category.name matches '/location/i' %} Soumettre un dossier pour cette location {% else %} Remplir la fiche d'intérêt {% endif %}

{{ property.title }}

{# Image principale avec changement via JavaScript #}
{% if property.images is not empty %} Image principale {% endif %}
{# Galerie des miniatures d'images #}
{% for image in property.images %}
Image {{ loop.index }}
{% endfor %}

Propriétaire

{{ property.user.name }}

Nombre de pièces

{{ property.roomNumber }}

Loyer

{{ property.rent|number_format }} €

Prix

{{ property.price|number_format }} €

Ce bien dispose d'un jardin

{{ property.garden ? 'Oui' : 'Non' }}

Type du logement

{{ property.housingType == 'house' ? "Maison" : "Appartement" }}

Type de transaction

{{ property.category.name }}

Date de publication

{{ property.createdAt|date('d/m/Y') }}

Ville

{{ property.address.city }}

Chauffage

{{ property.heating }}

Année de construction

{{ property.yearBuilt|date('Y') }}

Description

{{ property.content|raw }}

{% endblock %}