Adds new ledger page
This commit is contained in:
4
src/cljc/auto_ap/routes/ledger.cljc
Normal file
4
src/cljc/auto_ap/routes/ledger.cljc
Normal file
@@ -0,0 +1,4 @@
|
||||
(ns auto-ap.routes.ledger)
|
||||
|
||||
(def routes {"" {:get ::all-page}
|
||||
"/table" ::table })
|
||||
@@ -8,6 +8,7 @@
|
||||
[auto-ap.routes.payments :as p-routes]
|
||||
[auto-ap.routes.dashboard :as d-routes]
|
||||
[auto-ap.routes.invoice :as i-routes]
|
||||
[auto-ap.routes.ledger :as l-routes]
|
||||
[auto-ap.routes.admin.clients :as ac-routes]
|
||||
[auto-ap.routes.admin.sales-summaries :as ss-routes]
|
||||
[auto-ap.routes.admin.transaction-rules :as tr-routes]))
|
||||
@@ -49,6 +50,7 @@
|
||||
"/import-batch" ib-routes/routes
|
||||
"/transaction-rule" tr-routes/routes
|
||||
"/excel-invoice" ei-routes/routes}
|
||||
"ledger" l-routes/routes
|
||||
"transaction" {"/insights" {"" :transaction-insights
|
||||
"/table" :transaction-insight-table
|
||||
["/code/" [#"\d+" :transaction-id]] {:post :transaction-insight-code}
|
||||
|
||||
Reference in New Issue
Block a user