hides report

This commit is contained in:
2024-04-24 22:08:48 -07:00
parent ba439fad50
commit 0a0746df0d

View File

@@ -295,14 +295,14 @@
:hx-boost true} :hx-boost true}
"Expense Report")] "Expense Report")]
(when (can? (:identity request) (when (can? (:identity request)
{:subject :reconciliation-report})) {:subject :reconciliation-report})
[:li [:li
(menu-button- {:icon svg/report (menu-button- {:icon svg/report
:active? (= :company-reconciliation-report (:matched-route request)) :active? (= :company-reconciliation-report (:matched-route request))
:href (bidi/path-for ssr-routes/only-routes :href (bidi/path-for ssr-routes/only-routes
:company-reconciliation-report) :company-reconciliation-report)
:hx-boost true} :hx-boost true}
"Reconciliation Report")] "Reconciliation Report")])
[:li [:li
(menu-button- {:icon svg/bank (menu-button- {:icon svg/bank
:active? (= :company-plaid (:matched-route request)) :active? (= :company-plaid (:matched-route request))