feat: add stock movement on backend

This commit is contained in:
2026-06-26 16:57:36 +03:00
parent 846844a1f0
commit 7b662bb618
6 changed files with 140 additions and 2 deletions
+2
View File
@@ -67,6 +67,8 @@ func main() {
admin.GET("/orders", handlers.GetAllOrders)
admin.PATCH("/orders/:id", handlers.UpdateOrderStatus)
admin.PATCH("/items/:id/avatar", handlers.UploadItemAvatar)
admin.POST("/stock/in", handlers.StockIn)
admin.POST("/stock/out", handlers.StockOut)
}
}