product report list + detail report

This commit is contained in:
hamid zarghami
2025-09-29 16:04:57 +03:30
parent 25148282ae
commit 9ec483383e
16 changed files with 580 additions and 10 deletions
+9
View File
@@ -0,0 +1,9 @@
import { useQuery } from "@tanstack/react-query";
import * as api from "../service/ReportService";
export const useGetProductReport = () => {
return useQuery({
queryKey: ["productReport"],
queryFn: api.getProductReport,
});
};