Implement KPI daily production feature

- Added a new KPI controller to handle daily production data retrieval.
- Created routes for accessing KPI data, specifically for daily production.
- Developed frontend components for displaying daily production metrics, including charts and summary cards.
- Implemented data fetching logic with date range filtering for production data.
- Ensured proper loading states and error handling in the UI.

This feature is part of TASK:ERP-022.
This commit is contained in:
kjs
2026-04-28 16:14:27 +09:00
parent 4afb0f5ca4
commit bf8d99ccf5
16 changed files with 716 additions and 88 deletions

View File

@@ -0,0 +1,13 @@
/**
* KPI 라우트 — TASK:ERP-022
*/
import { Router } from "express";
import { authenticateToken } from "../middleware/authMiddleware";
import * as ctrl from "../controllers/kpiController";
const router = Router();
router.use(authenticateToken);
router.get("/daily-production", ctrl.getDailyProduction);
export default router;