Merge remote-tracking branch 'origin/master'
This commit is contained in:
15
svc/main.go
15
svc/main.go
@@ -579,6 +579,11 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
"finance", "export",
|
||||
wrapV3(routes.ExportPDFHandler(mssql)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/export-pdf", "POST",
|
||||
"finance", "export",
|
||||
wrapV3(routes.ExportPDFHandler(mssql)),
|
||||
)
|
||||
|
||||
bindV3(r, pgDB,
|
||||
"/api/exportstamentheaderreport-pdf", "GET",
|
||||
@@ -795,6 +800,11 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
"pricing", "view",
|
||||
wrapV3(http.HandlerFunc(routes.GetProductPricingFilterOptionsHandler)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/products/export-all", "GET",
|
||||
"pricing", "view",
|
||||
wrapV3(http.HandlerFunc(routes.ExportAllProductPricingHandler)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/brand-classification/lookups", "GET",
|
||||
"pricing", "view",
|
||||
@@ -840,6 +850,11 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
"pricing", "view",
|
||||
wrapV3(routes.GetPricingParameterRulesHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/pricing-rules/export-all", "GET",
|
||||
"pricing", "view",
|
||||
wrapV3(routes.ExportPricingRulesHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/pricing/production-product-costing/no-cost-products", "GET",
|
||||
"costing", "view",
|
||||
|
||||
Reference in New Issue
Block a user