Checkpoint: Corrections complètes du système de pièces jointes pour les rappels :

- Upload de fichiers avec fallback automatique vers stockage local
- Configuration Nginx pour uploads jusqu'à 10 Mo
- Colonne "Pièce jointe" dans le tableau de gestion des rappels
- Support des fichiers locaux et S3 dans l'envoi d'emails
- Correction de l'encoding base64 pour SMTP/Nodemailer
- Table logsrappels créée dans la base de données MySQL du VPS
This commit is contained in:
Manus
2026-01-17 11:12:07 -05:00
parent 0d794e5c9a
commit a203b70e27
4 changed files with 68 additions and 16 deletions

View File

@@ -389,6 +389,7 @@ export default function AdminRappels() {
<TableHead>Délai</TableHead>
<TableHead>Heure</TableHead>
<TableHead>Dates concernées</TableHead>
<TableHead>Pièce jointe</TableHead>
<TableHead>Statut</TableHead>
<TableHead className="text-right">Actions</TableHead>
</TableRow>
@@ -439,6 +440,15 @@ export default function AdminRappels() {
<TableCell>
{formatDatesInfo(rappel)}
</TableCell>
<TableCell>
{rappel.nomFichier && rappel.urlFichier ? (
<Badge variant="outline" className="bg-blue-50 text-blue-700 border-blue-200">
📎 Oui
</Badge>
) : (
<span className="text-muted-foreground text-sm">Non</span>
)}
</TableCell>
<TableCell>
<button
onClick={() => handleToggleActif(rappel.id, rappel.actif)}
@@ -473,7 +483,7 @@ export default function AdminRappels() {
))
) : (
<TableRow>
<TableCell colSpan={7} className="text-center text-muted-foreground">
<TableCell colSpan={8} className="text-center text-muted-foreground">
Aucun rappel configuré
</TableCell>
</TableRow>