hides link
This commit is contained in:
@@ -285,18 +285,18 @@
|
|||||||
(tags/pill- {:color :secondary} "WIP")])
|
(tags/pill- {:color :secondary} "WIP")])
|
||||||
(menu-button- {:href (bidi/path-for client-routes/routes
|
(menu-button- {:href (bidi/path-for client-routes/routes
|
||||||
:ledger)} "Register"))
|
:ledger)} "Register"))
|
||||||
(menu-button- {:href (hu/url (bidi/path-for ssr-routes/only-routes
|
(when (is-admin? (:identity request))
|
||||||
::ledger-routes/external-page)
|
(menu-button- {:href (hu/url (bidi/path-for ssr-routes/only-routes
|
||||||
{:date-range "month"})
|
::ledger-routes/external-page)
|
||||||
:active? (= ::ledger-routes/external-page (:matched-route request))
|
{:date-range "month"})
|
||||||
:hx-boost "true"}
|
:active? (= ::ledger-routes/external-page (:matched-route request))
|
||||||
[:div.flex.gap-2
|
:hx-boost "true"}
|
||||||
"External Register"
|
[:div.flex.gap-2
|
||||||
(tags/pill- {:color :secondary} "WIP")])
|
"External Register"
|
||||||
|
(tags/pill- {:color :secondary} "WIP")]))
|
||||||
(when (is-admin? (:identity request))
|
(when (is-admin? (:identity request))
|
||||||
(menu-button- {:href (bidi/path-for client-routes/routes
|
(menu-button- {:href (bidi/path-for client-routes/routes
|
||||||
:ledger)} "Old Register")
|
:ledger)} "Old Register"))
|
||||||
)
|
|
||||||
(menu-button- {:href (bidi/path-for client-routes/routes
|
(menu-button- {:href (bidi/path-for client-routes/routes
|
||||||
:profit-and-loss)} "Profit & Loss")
|
:profit-and-loss)} "Profit & Loss")
|
||||||
(menu-button- {:href (bidi/path-for client-routes/routes
|
(menu-button- {:href (bidi/path-for client-routes/routes
|
||||||
|
|||||||
Reference in New Issue
Block a user