Skip to content
Extraits de code Groupes Projets
Valider 114eea68 rédigé par sanaa daoudi's avatar sanaa daoudi
Parcourir les fichiers

add BestSalesProduct

parent e5f2712b
Branches
1 requête de fusion!115add BestSalesProduct
......@@ -15,7 +15,8 @@ import OrderCommandChart from "./OrderCommandChart";
import AnalyticsRefundReason from "./analytics-refund-reason";
import AppWidgetSummary from "./statistics-widget-summary";
import { useTheme } from "@mui/material/styles";
import BestSalesProduct from "../../cart/statistics/Best-salesProduct";
import { _BestSalesProduct } from "@/shared/_mock";
export default function AllStatisticsView() {
const settings = useSettingsContext();
......@@ -224,7 +225,18 @@ export default function AllStatisticsView() {
},
}}
/>
<Grid xs={12} md={6} lg={8}>
<BestSalesProduct
title="Les Produits les plus vendus"
tableData={_BestSalesProduct}
tableLabels={[
{ id: "name", label: "Produits" },
{ id: "category", label: "Catégorie" },
{ id: "totalAmount", label: "Chiffre D'affaire", align: "right" },
{ id: "rank", label: "Rank", align: "right" },
]}
/>
</Grid>
</Container>
);
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter