---
suivi: 1137
date: 2026-07-31
sujet: Foncier — numéro d'offre, à envoyer, duplication
chantier: module-foncier
type: feature
statut: livre
hash: 93b33234
fichiers:
  - app/Support/Foncier/FoncierReferentiels.php
  - app/Models/OffreFonciere.php
  - app/Http/Controllers/Foncier/OffreFonciereController.php
  - app/Http/Controllers/Foncier/DossierFoncierController.php
  - database/migrations/2026_07_31_220000_add_rang_to_offres_foncieres_table.php
  - resources/js/Pages/Foncier/Offres/Show.vue
  - resources/js/Pages/Foncier/Dossiers/Show.vue
  - routes/web.php
  - public/build/
---

## Notes

- Rang stable par dossier (jamais réattribué).
- `a_envoyer` défaut création ; alerte expiration reste filtrée sur `envoyee` (#1078).
- Backfill : compte affiché dans la sortie `php artisan migrate`.

## 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
```
