Adds new ledger import page

This commit is contained in:
2024-08-26 20:53:21 -07:00
parent c0d173125c
commit 6fd609be3e
16 changed files with 665 additions and 111 deletions

View File

@@ -309,7 +309,17 @@
{:subject :ledger
:activity :import})
(menu-button- {:href (bidi/path-for client-routes/routes
:external-import-ledger)} "External Ledger Import")))))]))
:external-import-ledger)} "External Ledger Import"))
(when (is-admin? (:identity request))
(menu-button- {:href (hu/url (bidi/path-for ssr-routes/only-routes
::ledger-routes/external-import-page)
{:date-range "month"})
:active? (= ::ledger-routes/external-import-page (:matched-route request))
:hx-boost "true"}
[:div.flex.gap-2
"External Import"
(tags/pill- {:color :secondary} "WIP")])))))]))
(defn company-aside-nav- [request]