Add exclusive summary endpoint

This commit is contained in:
2026-06-17 17:35:37 +07:00
parent c3db919531
commit 4b7b225f58
12 changed files with 1192 additions and 0 deletions
+2
View File
@@ -337,6 +337,8 @@ func (r *Router) addAppRoutes(rg *gin.Engine) {
analytics.GET("/categories", r.analyticsHandler.GetProductAnalyticsPerCategory)
analytics.GET("/dashboard", r.analyticsHandler.GetDashboardAnalytics)
analytics.GET("/profit-loss", r.analyticsHandler.GetProfitLossAnalytics)
analytics.GET("/exclusive-summary/period", r.analyticsHandler.GetExclusiveSummaryPeriod)
analytics.GET("/exclusive-summary/monthly", r.analyticsHandler.GetExclusiveSummaryMonthly)
}
tables := protected.Group("/tables")