ui: add B2B olmayan stok (orphans) page
This commit is contained in:
+10
@@ -954,6 +954,16 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
"pricing", "view",
|
||||
wrapV3(routes.GetProductPerformanceCustomersHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/product-performance/sales-details", "GET",
|
||||
"pricing", "view",
|
||||
wrapV3(routes.GetProductPerformanceSalesDetailsHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/product-performance/stock-sizes", "GET",
|
||||
"pricing", "view",
|
||||
wrapV3(routes.GetProductPerformanceStockSizesHandler()),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/product-performance/refresh", "POST",
|
||||
"pricing", "update",
|
||||
|
||||
Reference in New Issue
Block a user