From b7abb929a50fe9c932136470496fe3baa3bb4e3f Mon Sep 17 00:00:00 2001 From: Manus Date: Sun, 18 Jan 2026 05:02:45 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Ajout=20de=20la=20possibilit?= =?UTF-8?q?=C3=A9=20de=20renvoyer=20une=20attestation=20apr=C3=A8s=20qu'el?= =?UTF-8?q?le=20ait=20=C3=A9t=C3=A9=20envoy=C3=A9e=20:=20-=20Modification?= =?UTF-8?q?=20de=20l'interface=20AdminGestionAttestations.tsx=20-=20Le=20b?= =?UTF-8?q?outon=20d'envoi=20reste=20maintenant=20toujours=20visible=20(su?= =?UTF-8?q?ppression=20de=20la=20condition=20!isSent)=20-=20Le=20libell?= =?UTF-8?q?=C3=A9=20du=20bouton=20change=20dynamiquement=20:=20"Envoyer"?= =?UTF-8?q?=20si=20jamais=20envoy=C3=A9e,=20"Renvoyer"=20si=20d=C3=A9j?= =?UTF-8?q?=C3=A0=20envoy=C3=A9e=20-=20Permet=20de=20renvoyer=20une=20atte?= =?UTF-8?q?station=20apr=C3=A8s=20remplacement=20ou=20suppression=20-=20Le?= =?UTF-8?q?=20backend=20marque=20simplement=20l'attestation=20comme=20envo?= =?UTF-8?q?y=C3=A9e=20=C3=A0=20chaque=20appel=20-=20D=C3=A9ploy=C3=A9=20su?= =?UTF-8?q?r=20le=20VPS=20de=20production=20(https://formations.itinova.or?= =?UTF-8?q?g)=20-=20Les=20utilisateurs=20peuvent=20maintenant=20renvoyer?= =?UTF-8?q?=20une=20attestation=20=C3=A0=20tout=20moment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/AdminGestionAttestations.tsx | 4 ++-- todo.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/pages/AdminGestionAttestations.tsx b/client/src/pages/AdminGestionAttestations.tsx index 0141a00..a934e21 100644 --- a/client/src/pages/AdminGestionAttestations.tsx +++ b/client/src/pages/AdminGestionAttestations.tsx @@ -442,7 +442,7 @@ export default function AdminGestionAttestations() { > - {modeEnvoi === "manuel" && !isSent && ( + {modeEnvoi === "manuel" && ( )} {modeAttestation === "manuel" && ( diff --git a/todo.md b/todo.md index dc749aa..b680e4a 100644 --- a/todo.md +++ b/todo.md @@ -861,3 +861,4 @@ - [x] Corriger l'erreur "refetchInscrits is not defined" lors de l'upload d'attestation manuelle (remplacement par refetchApprenants) - [x] Corriger l'erreur "aucune attestation disponible pour cet apprenant" lors de l'envoi manuel d'une attestation uploadée (vérification de documentUrl ou urlPdf) - [x] Modifier l'envoi d'attestation pour joindre le PDF directement en pièce jointe au lieu d'un lien de téléchargement +- [x] Permettre le renvoi d'une attestation même après qu'elle ait été envoyée (afficher bouton Renvoyer au lieu de masquer Envoyer)