Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-06-19 00:22:44 +03:00
parent 81d1af61be
commit 7512e7fe7c
9 changed files with 735 additions and 12 deletions

View File

@@ -360,6 +360,21 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
"system", "update",
wrapV3(routes.SavePricingFirstGroupMailMappingHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/system/order-price-list-mail-mappings/lookups", "GET",
"system", "update",
wrapV3(routes.GetOrderPriceListFirstGroupMailMappingLookupsHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/system/order-price-list-mail-mappings", "GET",
"system", "update",
wrapV3(routes.GetOrderPriceListFirstGroupMailMappingsHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/system/order-price-list-mail-mappings/{group}", "PUT",
"system", "update",
wrapV3(routes.SaveOrderPriceListFirstGroupMailMappingHandler(pgDB)),
)
bindV3(r, pgDB,
"/api/language/translations", "GET",
"language", "update",
@@ -815,6 +830,11 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
"order", "view",
wrapV3(http.HandlerFunc(routes.ExportProductPriceListPDFHandler(pgDB))),
)
bindV3(r, pgDB,
"/api/order/price-list/export-notify", "POST",
"order", "view",
wrapV3(http.HandlerFunc(routes.NotifyOrderPriceListExportHandler(pgDB, ml))),
)
bindV3(r, pgDB,
"/api/product-size-match/rules", "GET",
"order", "view",