---
suivi: 1131
date: 2026-07-31
sujet: Foncier — valorisations historisées d’une parcelle (D19)
chantier: module-foncier
type: feature
statut: livre
hash: 6a4bf3e1
fichiers:
  - database/migrations/2026_07_31_180000_create_parcelle_valorisations_table.php
  - app/Models/ParcelleValorisation.php
  - app/Services/Foncier/ParcelleValorisationService.php
  - app/Http/Controllers/Foncier/ParcelleValorisationController.php
  - app/Support/Foncier/FoncierReferentiels.php
  - app/Support/Foncier/FoncierDocumentProfile.php
  - app/Services/Foncier/FoncierEntityDocumentService.php
  - app/Services/Foncier/FoncierEntityDocumentAccess.php
  - app/Services/Foncier/PatrimoineFoncierQuery.php
  - app/Http/Controllers/Foncier/ParcelleController.php
  - app/Models/Parcelle.php
  - resources/js/Pages/Foncier/Parcelles/Show.vue
  - resources/js/Pages/Foncier/Patrimoine/Index.vue
  - routes/web.php
  - tests/
  - database/data/journal_mises_a_jour_post_2026_06_12.php
  - public/build/
---

## Append-only + fenêtre 30 min

- Eloquent `updating` / `deleting` bloqués (RuntimeException).
- PUT autorisé uniquement dans les 30 min suivant la création, par l’auteur (typo).
- DELETE toujours 403 — corriger = nouvelle ligne.
- Justification : même esprit que la fenêtre 48 h détention (#1129), mais plus stricte car montants bancaires.

## Documents (#1117)

`ParcelleValorisation` documentable ; cap `MAX_PAR_VALORISATION = 5`.

## DÉPLOIEMENT OVH

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