Merge branch 'feat/BE/Sprint-6' into 'dev/teguh' - merge all closing methods

This commit is contained in:
aguhh18
2025-12-08 08:39:17 +07:00
6 changed files with 164 additions and 15 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import (
func ClosingRoutes(v1 fiber.Router, u user.UserService, s closing.ClosingService) {
ctrl := controller.NewClosingController(s)
route := v1.Group("/closings")
route := v1.Group("/closing")
// route.Get("/", m.Auth(u), ctrl.GetAll)
// route.Post("/", m.Auth(u), ctrl.CreateOne)
@@ -22,6 +22,6 @@ func ClosingRoutes(v1 fiber.Router, u user.UserService, s closing.ClosingService
route.Get("/", ctrl.GetAll)
route.Get("/:id", ctrl.GetOne)
route.Get("/:projectFlockId", ctrl.GetClosingSummary)
route.Get("/:project_flock_id/penjualan", ctrl.GetPenjualan)
}