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()}>