ui: add B2B olmayan stok (orphans) page

This commit is contained in:
M_Kececi
2026-07-02 16:08:27 +03:00
parent cbb853d433
commit 1bf51b9e82
10 changed files with 1126 additions and 73 deletions
+10
View File
@@ -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",