Invoices can now be imported with the POWER OF AI

This commit is contained in:
Bryce
2023-08-03 21:33:15 -07:00
parent 88eda03e7f
commit ea4ccf731e
3 changed files with 106 additions and 97 deletions

View File

@@ -3,10 +3,10 @@
(def routes {"logout" :logout
"search" :search
"invoice" {"/glimpse" {"" {:get :invoice-glimpse
:post :invoice-glimpse-upload}
"/job" {["/" [#"\w+" :job-id]] {:get :invoice-glimpse-job
"/create" {:post :invoice-glimpse-create}
"/update" {:patch :invoice-glimpse-update-job}}}}}
:post :invoice-glimpse-upload
["/" [#"\w+" :textract-invoice-id]] {:get :invoice-glimpse-textract-invoice
"/create" {:post :invoice-glimpse-create-invoice}
"/update" {:patch :invoice-glimpse-update-textract-invoice}}}}}
"admin" {"/history" {"" :admin-history
"/" :admin-history
#"/search/?" :admin-history-search