From 5de295a18ceba9b210ffe06ad43324362df50595 Mon Sep 17 00:00:00 2001 From: Manus Date: Thu, 8 Jan 2026 06:06:53 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Correction=20de=20l'affichage=20d?= =?UTF-8?q?u=20d=C3=A9lai=20des=20rappels=20post-formation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- client/src/pages/AdminRappels.tsx | 4 +++- todo.md | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/pages/AdminRappels.tsx b/client/src/pages/AdminRappels.tsx index 0badf90..f4fbe10 100644 --- a/client/src/pages/AdminRappels.tsx +++ b/client/src/pages/AdminRappels.tsx @@ -222,7 +222,9 @@ export default function AdminRappels() { {rappel.nom} {getTemplateName(rappel.templateType)} - J-{rappel.joursAvant} + + {rappel.timing === "post_formation" ? `J+${rappel.joursAvant}` : `J-${rappel.joursAvant}`} + {rappel.heureEnvoi}