Checkpoint: Correction de l'affichage du délai des rappels post-formation

Problème résolu :
- Les rappels post-formation affichaient "J-X" au lieu de "J+X" dans la colonne Délai

Modification apportée :
- Mise à jour de l'affichage dans AdminRappels.tsx pour vérifier le champ "timing"
- Si timing = "post_formation" : affiche "J+X"
- Si timing = "pre_formation" : affiche "J-X"

Résultat : L'affichage est maintenant cohérent avec le type de rappel configuré
This commit is contained in:
Manus
2026-01-08 06:06:53 -05:00
parent 5308b7921e
commit 5de295a18c
2 changed files with 7 additions and 1 deletions

View File

@@ -222,7 +222,9 @@ export default function AdminRappels() {
<TableRow key={rappel.id}>
<TableCell className="font-medium">{rappel.nom}</TableCell>
<TableCell>{getTemplateName(rappel.templateType)}</TableCell>
<TableCell>J-{rappel.joursAvant}</TableCell>
<TableCell>
{rappel.timing === "post_formation" ? `J+${rappel.joursAvant}` : `J-${rappel.joursAvant}`}
</TableCell>
<TableCell>{rappel.heureEnvoi}</TableCell>
<TableCell>
<button