fixing monumental issue where everything was unlinked
This commit is contained in:
@@ -159,7 +159,7 @@
|
|||||||
(into (map (fn [[invoice-payment]]
|
(into (map (fn [[invoice-payment]]
|
||||||
[:db/retractEntity invoice-payment])
|
[:db/retractEntity invoice-payment])
|
||||||
(d/query {:query {:find ['?ip]
|
(d/query {:query {:find ['?ip]
|
||||||
:in ['$]
|
:in ['$ '?p]
|
||||||
:where ['[?ip :invoice-payment/payment ?p]]}
|
:where ['[?ip :invoice-payment/payment ?p]]}
|
||||||
:args [(d/db conn) (:db/id payment)]} ))))
|
:args [(d/db conn) (:db/id payment)]} ))))
|
||||||
(:id context))
|
(:id context))
|
||||||
|
|||||||
@@ -170,7 +170,6 @@
|
|||||||
[:td (:post-date (:transaction (:payment invoice-payment)))]
|
[:td (:post-date (:transaction (:payment invoice-payment)))]
|
||||||
[:td
|
[:td
|
||||||
[buttons/fa-icon {:icon "fa-external-link"
|
[buttons/fa-icon {:icon "fa-external-link"
|
||||||
:target "_blank"
|
|
||||||
:href (str (bidi/path-for routes/routes :payments )
|
:href (str (bidi/path-for routes/routes :payments )
|
||||||
"?"
|
"?"
|
||||||
(url/map->query {:exact-match-id (:id (:payment invoice-payment))}))}]]])]]]]]
|
(url/map->query {:exact-match-id (:id (:payment invoice-payment))}))}]]])]]]]]
|
||||||
|
|||||||
Reference in New Issue
Block a user