Feat(BE-304): add permission in report and closing

This commit is contained in:
ragilap
2025-12-19 15:55:30 +07:00
parent 63068b8c3e
commit 1af8f0a726
3 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -17,5 +17,5 @@ func RepportRoutes(v1 fiber.Router, u user.UserService, s repport.RepportService
route.Get("/expense", m.RequirePermissions(m.P_ReportExpenseGetAll), ctrl.GetExpense)
route.Get("/marketing", m.RequirePermissions(m.P_ReportDeliveryGetAll), ctrl.GetMarketing)
route.Get("/purchase-supplier", ctrl.GetPurchaseSupplier)
route.Get("/purchase-supplier", m.RequirePermissions(m.P_ReportPurchaseSupplierGetAll), ctrl.GetPurchaseSupplier)
}