create api get depresiasi v2

This commit is contained in:
giovanni
2026-06-05 13:51:09 +07:00
parent 6d2b6a0cb8
commit 1ef32407f1
5 changed files with 270 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ func RepportRoutes(v1 fiber.Router, u user.UserService, s repport.RepportService
route.Get("/expense", m.RequirePermissions(m.P_ReportExpenseGetAll), ctrl.GetExpense)
route.Get("/expense/depreciation", ctrl.GetExpenseDepreciation)
route.Get("/expense/v2/depreciation", ctrl.GetExpenseDepreciationV2)
route.Get("/expense/depreciation/manual-inputs", ctrl.GetExpenseDepreciationManualInputs)
route.Put("/expense/depreciation/manual-inputs", ctrl.UpsertExpenseDepreciationManualInput)
route.Get("/marketing", m.RequirePermissions(m.P_ReportDeliveryGetAll), ctrl.GetMarketing)