{% extends "base.html" %}{% block title %}{{ unit.name }} — GMAO{% endblock %}{% block content %}

{{ unit.name }}

{{ unit.building.site.name if unit.building.site else '' }} · {{ unit.building.name }}
Modifier Inventorier
Occupation

État : {{ unit.occupancy_status|replace('_',' ')|title }}

Occupant : {{ unit.occupant_name or 'Aucun' }}

Contact : {{ unit.occupant_contact or '—' }}

Période : {{ unit.occupancy_start|date_fmt if unit.occupancy_start else '—' }} → {{ unit.occupancy_end|date_fmt if unit.occupancy_end else '—' }}

Pièces
{% for room in unit.rooms %}{{ room.name }}{{ room.equipments|length }} équipement(s){% else %}
Aucune pièce.
{% endfor %}
Patrimoine du logement
{% for equipment in equipments %}{{ equipment.name }} · {{ equipment.room.name }}{{ equipment.quantity }}{% else %}
Aucun équipement.
{% endfor %}
{% endblock %}