feat[BE-117]: create lookup API in project flock to get projectFlocks kandang id

This commit is contained in:
aguhh18
2025-10-23 09:03:28 +07:00
parent 00837e0da2
commit f33eb7fcc7
7 changed files with 214 additions and 3 deletions
@@ -25,6 +25,7 @@ func ProjectflockRoutes(v1 fiber.Router, u user.UserService, s projectflock.Proj
route.Get("/:id", ctrl.GetOne)
route.Patch("/:id", ctrl.UpdateOne)
route.Delete("/:id", ctrl.DeleteOne)
route.Get("/kandangs/lookup", ctrl.LookupProjectFlockKandang)
route.Post("/approvals", ctrl.Approval)
route.Get("/flocks/:flock_id/periods", ctrl.GetFlockPeriodSummary)
}