From 056bccd985e2c884e611d4f7f5e8c56087f5bccd Mon Sep 17 00:00:00 2001 From: Manus Date: Mon, 8 Jun 2026 10:53:34 -0400 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Ajout=20de=20la=20colonne=20'Expo?= =?UTF-8?q?rt=20SP'=20dans=20le=20tableau=20historique=20de=20Ventilation?= =?UTF-8?q?=20FreePro=20:=20ic=C3=B4ne=20horloge=20grise=20=3D=20non=20exp?= =?UTF-8?q?ort=C3=A9,=20ic=C3=B4ne=20verte=20=3D=20export=C3=A9=20(date=20?= =?UTF-8?q?au=20survol),=20ic=C3=B4ne=20rouge=20=3D=20erreur=20(message=20?= =?UTF-8?q?au=20survol).=20Le=20statut=20est=20sauvegard=C3=A9=20en=20base?= =?UTF-8?q?=20(sharepointUploadStatus,=20sharepointUploadPath,=20sharepoin?= =?UTF-8?q?tUploadError,=20sharepointExportedAt)=20lors=20de=20chaque=20ex?= =?UTF-8?q?port=20via=20'Envoyer=20vers=20SharePoint'.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/VentilationFreePro.tsx | 28 + drizzle/0030_vengeful_warbird.sql | 4 + drizzle/meta/0030_snapshot.json | 2140 +++++++++++++++++++++++ drizzle/meta/_journal.json | 7 + drizzle/schema.ts | 8 + server/db.ts | 20 + server/routers.ts | 7 + 7 files changed, 2214 insertions(+) create mode 100644 drizzle/0030_vengeful_warbird.sql create mode 100644 drizzle/meta/0030_snapshot.json diff --git a/client/src/pages/VentilationFreePro.tsx b/client/src/pages/VentilationFreePro.tsx index 3bfe505..2900ba3 100644 --- a/client/src/pages/VentilationFreePro.tsx +++ b/client/src/pages/VentilationFreePro.tsx @@ -66,6 +66,10 @@ interface ImportRecord { nbLignes: number; totalTtc: string | null; createdAt: Date; + sharepointUploadStatus: 'success' | 'error' | null; + sharepointUploadPath: string | null; + sharepointUploadError: string | null; + sharepointExportedAt: Date | null; } // ── Helpers ──────────────────────────────────────────────────────────────── @@ -847,6 +851,7 @@ function VentilationFreeProContent() { Lignes Total TTC Importé le + Export SP Actions @@ -876,6 +881,29 @@ function VentilationFreeProContent() { {new Date(imp.createdAt).toLocaleDateString("fr-FR")} + e.stopPropagation()}> + {imp.sharepointUploadStatus === 'success' ? ( + + + Exporté + + ) : imp.sharepointUploadStatus === 'error' ? ( + + + Erreur + + ) : ( + + + + )} +
e.stopPropagation()}>