Adds advanced view
This commit is contained in:
17
src/cljc/auto_ap/routes/transactions.cljc
Normal file
17
src/cljc/auto_ap/routes/transactions.cljc
Normal file
@@ -0,0 +1,17 @@
|
||||
(ns auto-ap.routes.transactions)
|
||||
|
||||
(def routes {"" {:get ::page}
|
||||
"/new" {:get ::new
|
||||
:post ::new-submit
|
||||
"/location-select" ::location-select
|
||||
"/account-typeahead" ::account-typeahead
|
||||
"/line-item" {:get ::new-line-item}}
|
||||
|
||||
"/external-new" ::external-page
|
||||
"/external-import-new" {"" ::external-import-page
|
||||
"/parse" ::external-import-parse
|
||||
"/import" ::external-import-import}
|
||||
|
||||
"/table" ::table
|
||||
"/csv" ::csv
|
||||
"/bank-account-filter" ::bank-account-filter })
|
||||
@@ -9,6 +9,8 @@
|
||||
[auto-ap.routes.dashboard :as d-routes]
|
||||
[auto-ap.routes.invoice :as i-routes]
|
||||
[auto-ap.routes.ledger :as l-routes]
|
||||
[auto-ap.routes.transactions :as t-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]))
|
||||
@@ -51,6 +53,7 @@
|
||||
"/transaction-rule" tr-routes/routes
|
||||
"/excel-invoice" ei-routes/routes}
|
||||
"ledger" l-routes/routes
|
||||
"transaction2" t-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