Sidebars link correctly
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
"Payments"]]
|
||||
:title (fn [r]
|
||||
(str
|
||||
(some-> r :query-params :status name str/capitalize (str " "))
|
||||
(some-> r :route-params :status name str/capitalize (str " "))
|
||||
"Payments"))
|
||||
:entity-name "payments"
|
||||
:route ::route/table
|
||||
@@ -365,7 +365,7 @@
|
||||
:render (fn [p]
|
||||
(link-dropdown (concat (->> p :payment/invoices (map (fn [invoice]
|
||||
{:link (hu/url (bidi/path-for ssr-routes/only-routes
|
||||
::invoice-route/page)
|
||||
::invoice-route/all-page)
|
||||
{:exact-match-id (:db/id invoice)})
|
||||
:content (str "Inv. " (:invoice/invoice-number invoice))})))
|
||||
(some-> p :transaction/_payment ((fn [t]
|
||||
|
||||
Reference in New Issue
Block a user