feat: add edit-wizard-toggle-mode route
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
(ns auto-ap.routes.transactions)
|
(ns auto-ap.routes.transactions)
|
||||||
|
|
||||||
(def routes {"" {:get ::page
|
(def routes {"" {:get ::page
|
||||||
:put ::edit-wizard-navigate
|
:put ::edit-wizard-navigate
|
||||||
"/unapproved" ::unapproved-page
|
"/unapproved" ::unapproved-page
|
||||||
"/requires-feedback" ::requires-feedback-page
|
"/requires-feedback" ::requires-feedback-page
|
||||||
"/approved" ::approved-page
|
"/approved" ::approved-page
|
||||||
"/bulk-delete" ::bulk-delete
|
"/bulk-delete" ::bulk-delete
|
||||||
"/bulk-suppress" ::bulk-suppress
|
"/bulk-suppress" ::bulk-suppress
|
||||||
"/bulk-code" {:get ::bulk-code
|
"/bulk-code" {:get ::bulk-code
|
||||||
:put ::bulk-code-submit
|
:put ::bulk-code-submit
|
||||||
"/new-account" ::bulk-code-new-account
|
"/new-account" ::bulk-code-new-account
|
||||||
"/vendor-changed" ::bulk-code-vendor-changed}}
|
"/vendor-changed" ::bulk-code-vendor-changed}}
|
||||||
"/new" {:get ::new
|
"/new" {:get ::new
|
||||||
:post ::new-submit
|
:post ::new-submit
|
||||||
"/location-select" ::location-select
|
"/location-select" ::location-select
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
"/parse" ::external-import-parse
|
"/parse" ::external-import-parse
|
||||||
"/import" ::external-import-import}
|
"/import" ::external-import-import}
|
||||||
|
|
||||||
"/table" ::table
|
"/table" ::table
|
||||||
"/csv" ::csv
|
"/csv" ::csv
|
||||||
"/bank-account-filter" ::bank-account-filter
|
"/bank-account-filter" ::bank-account-filter
|
||||||
|
|
||||||
["/" [#"\d+" :db/id]] {"/edit" {:get ::edit-wizard}}
|
["/" [#"\d+" :db/id]] {"/edit" {:get ::edit-wizard}}
|
||||||
"/edit-submit" ::edit-submit
|
"/edit-submit" ::edit-submit
|
||||||
@@ -34,6 +34,7 @@
|
|||||||
"/account-balance" ::account-balance
|
"/account-balance" ::account-balance
|
||||||
"/toggle-amount-mode" ::toggle-amount-mode
|
"/toggle-amount-mode" ::toggle-amount-mode
|
||||||
"/edit-wizard-new-account" ::edit-wizard-new-account
|
"/edit-wizard-new-account" ::edit-wizard-new-account
|
||||||
|
"/edit-wizard-toggle-mode" ::edit-wizard-toggle-mode
|
||||||
"/match-payment" ::link-payment
|
"/match-payment" ::link-payment
|
||||||
"/match-autopay-invoices" ::link-autopay-invoices
|
"/match-autopay-invoices" ::link-autopay-invoices
|
||||||
"/match-unpaid-invoices" ::link-unpaid-invoices
|
"/match-unpaid-invoices" ::link-unpaid-invoices
|
||||||
|
|||||||
Reference in New Issue
Block a user