diff --git a/client/src/pages/Analytics.tsx b/client/src/pages/Analytics.tsx index 0641090..fe9e398 100644 --- a/client/src/pages/Analytics.tsx +++ b/client/src/pages/Analytics.tsx @@ -8,7 +8,7 @@ import { Calendar } from "@/components/ui/calendar"; import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; import { useAuthUnified } from "@/hooks/useAuthUnified"; import { useStore } from "@/contexts/StoreContext"; -import { CalendarIcon, Download, RefreshCw, TrendingUp, Package, Clock, Euro, Store, Truck, BarChart3, PieChart, Activity, FileDown } from "lucide-react"; +import { CalendarIcon, Download, RefreshCw, TrendingUp, Package, CheckCircle2, Euro, Store, Truck, BarChart3, PieChart, Activity, FileDown } from "lucide-react"; import { addDays, format, startOfMonth, endOfMonth, startOfWeek, endOfWeek, startOfYear, endOfYear } from "date-fns"; import { fr } from "date-fns/locale"; import { LineChart, Line, BarChart, Bar, PieChart as RechartsChart, Pie, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from "recharts"; @@ -362,15 +362,15 @@ export default function Analytics() { - Taux de ponctualité + Taux de réconciliation
- {summary?.onTimeRate ? `${summary.onTimeRate.toFixed(1)}%` : '0%'} + {summary?.reconciliationRate ? `${summary.reconciliationRate.toFixed(1)}%` : '0%'}
- +