ui: update ProductPerformanceProfitability page to enhance table views and tabs management

This commit is contained in:
M_Kececi
2026-07-02 23:08:02 +03:00
parent f3d4661cff
commit d419f52e3c
6 changed files with 1373 additions and 134 deletions
+5
View File
@@ -979,6 +979,11 @@ 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-breakdown", "GET",
"pricing", "view",
wrapV3(routes.GetProductPerformanceSalesBreakdownHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/pricing/product-performance/sales-details", "GET",
"pricing", "view",