Merge remote-tracking branch 'origin/master'
This commit is contained in:
12
svc/main.go
12
svc/main.go
@@ -449,12 +449,24 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
wrapV3(http.HandlerFunc(routes.GetStatementAgingHandler)),
|
||||
)
|
||||
|
||||
bindV3(r, pgDB,
|
||||
"/api/finance/account-aging-statement/rebuild-cache", "POST",
|
||||
"finance", "update",
|
||||
wrapV3(http.HandlerFunc(routes.RebuildStatementAgingCacheHandler)),
|
||||
)
|
||||
|
||||
bindV3(r, pgDB,
|
||||
"/api/finance/account-aging-statement/export-pdf", "GET",
|
||||
"finance", "export",
|
||||
wrapV3(routes.ExportStatementAgingPDFHandler(mssql)),
|
||||
)
|
||||
|
||||
bindV3(r, pgDB,
|
||||
"/api/finance/account-aging-statement/export-excel", "GET",
|
||||
"finance", "export",
|
||||
wrapV3(routes.ExportStatementAgingExcelHandler(mssql)),
|
||||
)
|
||||
|
||||
// ============================================================
|
||||
// REPORT (STATEMENTS)
|
||||
// ============================================================
|
||||
|
||||
Reference in New Issue
Block a user