---
suivi: 1136
date: 2026-07-31
sujet: Foncier — négociation blocs, montant ventilé, réponse enrichie
chantier: module-foncier
type: feature
statut: livre
hash: a4cf14f0
fichiers:
  - app/Http/Controllers/Foncier/OffreFonciereController.php
  - app/Http/Controllers/Foncier/DossierFoncierController.php
  - app/Models/OffreFonciere.php
  - app/Models/OffreComposantePrix.php
  - app/Models/EntityDocument.php
  - app/Services/Foncier/FieldAuditService.php
  - app/Services/Foncier/FoncierEntityDocumentService.php
  - database/migrations/2026_07_31_210000_add_libelle_libre_to_offre_composantes_prix.php
  - database/migrations/2026_07_31_210100_add_commentaire_reponse_to_offres_foncieres.php
  - database/migrations/2026_07_31_210200_add_contexte_to_entity_documents.php
  - resources/js/Pages/Foncier/Offres/Show.vue
  - resources/js/Pages/Foncier/Dossiers/Show.vue
  - resources/js/Components/Foncier/EntityDocumentsPanel.vue
  - public/build/
---

## Décisions

- Montant : calculé si ≥1 composante, sinon saisi (badge visible).
- Libellé libre : colonne `libelle_libre` obligatoire si type `autre`.
- Documents réponse : même collection `entity_documents`, `contexte=reponse` + badge UI.
- Organisation fiche : groupes « Négociation » / « Échanges & suivi ».

## DÉPLOIEMENT OVH

```bash
git pull origin main
php artisan migrate --force
php artisan optimize:clear
php artisan route:clear
php artisan journal:sync
php artisan view:clear
```
