fully removes old invoice experience
This commit is contained in:
@@ -8,12 +8,7 @@
|
||||
"payments/" :payments
|
||||
"admin/" {"vendors" :admin-vendors}
|
||||
"vendor/" {"new" :new-vendor}
|
||||
"invoices/" {"" :invoices
|
||||
"import" :import-invoices
|
||||
"unpaid" :unpaid-invoices
|
||||
"paid" :paid-invoices
|
||||
"voided" :voided-invoices
|
||||
"new" :new-invoice}
|
||||
|
||||
"transactions/" {"" :transactions
|
||||
"unapproved" :unapproved-transactions
|
||||
"approved" :approved-transactions
|
||||
|
||||
@@ -38,3 +38,10 @@
|
||||
["/" [#"\w+" :textract-invoice-id]] {:get :invoice-glimpse-textract-invoice
|
||||
"/create" {:post :invoice-glimpse-create-invoice}
|
||||
"/update" {:patch :invoice-glimpse-update-textract-invoice}}}}})
|
||||
|
||||
(def legacy-routes {"" ::legacy-invoices
|
||||
"import" ::legacy-import-invoices
|
||||
"unpaid" ::legacy-unpaid-invoices
|
||||
"paid" ::legacy-paid-invoices
|
||||
"voided" ::legacy-voided-invoices
|
||||
"new" ::legacy-new-invoice})
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"logout" :logout
|
||||
"search" :search
|
||||
"indicators" indicator-routes/routes
|
||||
|
||||
|
||||
"dashboard" d-routes/routes
|
||||
"account" {"/search" {:get :account-search}}
|
||||
"admin" {"" :auto-ap.routes.admin/page
|
||||
@@ -66,12 +66,15 @@
|
||||
"/table" {:get :pos-refund-table}}
|
||||
"/cash-drawer-shifts" {"" {:get :pos-cash-drawer-shifts}
|
||||
"/table" {:get :pos-cash-drawer-shift-table}}}
|
||||
|
||||
|
||||
"outgoing-invoice" oi-routes/routes
|
||||
"payment" p-routes/routes
|
||||
"invoice" i-routes/routes
|
||||
"invoices/" i-routes/legacy-routes
|
||||
"invoices" i-routes/legacy-routes
|
||||
|
||||
"vendor" {"/search" :vendor-search}
|
||||
;; TODO Include IDS in routes for company-specific things, as opposed to headers
|
||||
;; TODO Include IDS in routes for company-specific things, as opposed to headers
|
||||
"company" {"" :company
|
||||
"/dropdown" :company-dropdown-search-results
|
||||
"/signature" {"/put" :company-update-signature
|
||||
@@ -99,7 +102,7 @@
|
||||
"/fastlink" {:get :company-yodlee-fastlink-dialog}
|
||||
"/refresh" {:put :company-yodlee-provider-account-refresh}
|
||||
"/reauthenticate" {:put :company-yodlee-provider-account-reauthenticate}}
|
||||
|
||||
|
||||
"/plaid" {"" {:get :company-plaid}
|
||||
"/table" {:get :company-plaid-table}
|
||||
"/link" {:post :company-plaid-link}
|
||||
|
||||
Reference in New Issue
Block a user