excel import moved over

This commit is contained in:
2023-10-31 22:40:03 -07:00
parent 25b397325a
commit 6af9b6568f
7 changed files with 350 additions and 200 deletions

View File

@@ -7,7 +7,8 @@
[auto-ap.ssr.hx :as hx]
[auto-ap.routes.admin.transaction-rules :as transaction-rules]
[auto-ap.ssr.hiccup-helper :as hh]
[auto-ap.routes.admin.import-batch :as ib-routes]))
[auto-ap.routes.admin.import-batch :as ib-routes]
[auto-ap.routes.admin.excel-invoices :as ei-routes]))
(defn menu-button- [params & children]
[:div
@@ -240,8 +241,8 @@
(sub-menu- (hx/alpine-appear
{:x-show "open"})
(menu-button- {:href (bidi/path-for client-routes/routes
:admin-excel-import)} "Excel Invoices")
(menu-button- {:href (bidi/path-for ssr-routes/only-routes
::ei-routes/page)} "Excel Invoices")
(menu-button- {:href (bidi/path-for ssr-routes/only-routes
::ib-routes/page)} "Import Batches")
(menu-button- {:href (bidi/path-for ssr-routes/only-routes