diff --git a/client/src/pages/ImportSettings.tsx b/client/src/pages/ImportSettings.tsx
index b585c68..7c6e955 100644
--- a/client/src/pages/ImportSettings.tsx
+++ b/client/src/pages/ImportSettings.tsx
@@ -5,8 +5,9 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Switch } from "@/components/ui/switch";
+import { Badge } from "@/components/ui/badge";
import { toast } from "sonner";
-import { Loader2, Save, Upload, FolderOpen, Mail, Play, Square } from "lucide-react";
+import { Loader2, Save, Upload, FolderOpen, Mail, Play, Square, Download, Inbox, CheckCircle2 } from "lucide-react";
import DashboardLayout from "@/components/DashboardLayout";
export default function ImportSettings() {
@@ -73,53 +74,66 @@ export default function ImportSettings() {
exportFolder: exportFolder || null,
});
- toast.success("Paramètres enregistrés", {
- description: "Vos paramètres de réception ont été mis à jour avec succès.",
- });
+ toast.success("Paramètres enregistrés avec succès");
} catch (error) {
- toast.error("Erreur", {
- description: "Impossible d'enregistrer les paramètres. Veuillez réessayer.",
- });
+ toast.error("Impossible d'enregistrer les paramètres");
}
};
if (isLoading) {
return (
-
-
-
+
+
+
+
Chargement des paramètres...
+
+
);
}
return (
-
-
-
Paramètres de réception
-
- Configurez les différentes méthodes d'importation de factures
-
-
+
+ {/* Header */}
+
+
+
+
+
+
+
+ Paramètres de réception
+
+
+ Configurez les différentes méthodes d'importation de factures
+
+
+
+
-
{/* Manual Import */}
-
-
-
-
-
-
-
-
Import manuel
-
- Autoriser l'upload manuel de fichiers PDF via l'interface
-
+
+
+
+
+
+
+
+
+ Import manuel
+
+ Autoriser l'upload manuel de fichiers PDF via l'interface
+
+
+
+ {manualImportEnabled ? "Activé" : "Désactivé"}
+
-
-
-