invoices page works, needs dialog.

This commit is contained in:
2024-03-09 21:25:55 -08:00
parent d73a3153bb
commit fb2eefc9ac
8 changed files with 636 additions and 51 deletions

View File

@@ -0,0 +1,12 @@
(ns auto-ap.routes.invoice)
(def routes {"" {:get ::page}
"/bulk-delete" {:get ::bulk-delete
:delete ::bulk-delete-confirm}
["/" [#"\d+" :db/id]] {:delete ::delete}
"/table" ::table
"/glimpse" {"" {:get :invoice-glimpse
: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}}}}})