---
suivi: 1684
date: 2026-09-24
sujet: Exclure les programmes hors ERP de l'alerte sans projet Sage
chantier: comptabilite / tableau de bord
type: feature
statut: poussé
hash: 487626cb
fichiers:
  - app/Support/Compta/ProgrammeParametresBancairesQuery.php
  - resources/js/Pages/Compta/ProgrammeParametresBancaires.vue
  - database/data/journal_mises_a_jour_post_2026_06_12.php
  - public/build/manifest.json
  - public/build/assets/ProgrammeParametresBancaires-BXsyr4Jp.js
  - public/build/assets/app-DbSlbaCI.js
  - docs/suivi/SUIVI_1684_hors_erp_exclus_alerte_projet.md
---

# SUIVI #1684 — hors ERP exclus de l'alerte projet

Marqueur unique : `programmes.statut = hors_erp` (`Programme::STATUT_HORS_ERP`).
`sqlSansProjet` réutilise `sqlEstDansErp()`. Cartes société, compte et classe inchangées.
Colonne projet : mention grise « Hors ERP », pas de fond rouge. Bouton de création #1681 inchangé.

## DÉPLOIEMENT

git pull, optimize:clear, view:clear, journal:sync. Pas de migration.

## LEÇON

Une seule méthode SQL pour « dans l'ERP ». Ne pas recopier `statut <> hors_erp` dans chaque alerte.
