Adds links for manual payments

This commit is contained in:
2024-05-02 19:47:36 -07:00
parent 002c3d8688
commit 2a94bcc509
5 changed files with 15 additions and 9 deletions

View File

@@ -364,7 +364,10 @@
:name "Links"
:class "w-8"
:render (fn [p]
(link-dropdown (concat (->> p :payment/invoices (map (fn [invoice]
(link-dropdown (concat (->> p :invoice-payment/_payment
(map :invoice-payment/invoice)
(map (fn [invoice]
{:link (hu/url (bidi/path-for ssr-routes/only-routes
::invoice-route/all-page)
{:exact-match-id (:db/id invoice)})