stock request table created
This commit is contained in:
@@ -24,6 +24,9 @@ func RegisterOrderRoutes(api fiber.Router, f *facade.Facade) {
|
||||
orders.Put("/updateorder", f.OrderController.UpdateOrder)
|
||||
orders.Post("/createorder", f.OrderController.CreateOrderv3)
|
||||
|
||||
reports := api.Group("/v1/web/reports")
|
||||
reports.Get("/sales-summary", f.OrderController.GetSalesSummary)
|
||||
|
||||
orders = api.Group("/v1/mob/orders")
|
||||
|
||||
orders.Post("/createorder", f.OrderController.CreateOrderv3)
|
||||
|
||||
@@ -15,6 +15,7 @@ func RegisterPartnerRoutes(api fiber.Router, f *facade.Facade) {
|
||||
partner.Get("/getridershifts", f.PartnerController.GetRiderShifts)
|
||||
partner.Get("/getlocations", f.PartnerController.GetLocationConfig)
|
||||
partner.Get("/getriderlogs", f.PartnerController.GetRiderLogs)
|
||||
partner.Get("/getfleetsummary", f.PartnerController.GetFleetSummary)
|
||||
|
||||
partner = api.Group("/v1/mob/partners")
|
||||
|
||||
|
||||
@@ -27,6 +27,10 @@ func RegisterProductRoutes(api fiber.Router, f *facade.Facade) {
|
||||
products.Put("/updateproductlocation", f.ProductController.UpdateProductLocation)
|
||||
products.Post("/createproductlocation", f.ProductController.CreateProductLocation)
|
||||
products.Post("/createproductvariant", f.ProductController.CreateProductVariant)
|
||||
|
||||
products.Post("/createstockrequest", f.StockRequestController.CreateStockRequest)
|
||||
products.Get("/getstockrequests", f.StockRequestController.GetStockRequests)
|
||||
products.Put("/updatestockrequest", f.StockRequestController.UpdateStockRequest)
|
||||
|
||||
products = api.Group("/v1/mob/products")
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ func RegisterTenantRoutes(api fiber.Router, f *facade.Facade) {
|
||||
tenant.Post("/createtenantcustomer", f.TenantController.CreateTenantCustomer)
|
||||
tenant.Put("/updatelocation", f.TenantController.UpdateLocation)
|
||||
tenant.Post("/createlocation", f.TenantController.CreateLocation)
|
||||
tenant.Delete("/deletelocation", f.TenantController.DeleteLocation)
|
||||
tenant.Post("/createtenantlocation", f.TenantController.CreateTenantLocation)
|
||||
tenant.Put("/updatetenantlocation", f.TenantController.UpdateTenantLocation)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user