diff --git a/src/clj/auto_ap/graphql/transactions.clj b/src/clj/auto_ap/graphql/transactions.clj index 1f31ac4a..8997b46f 100644 --- a/src/clj/auto_ap/graphql/transactions.clj +++ b/src/clj/auto_ap/graphql/transactions.clj @@ -159,7 +159,7 @@ (into (map (fn [[invoice-payment]] [:db/retractEntity invoice-payment]) (d/query {:query {:find ['?ip] - :in ['$] + :in ['$ '?p] :where ['[?ip :invoice-payment/payment ?p]]} :args [(d/db conn) (:db/id payment)]} )))) (:id context)) diff --git a/src/cljs/auto_ap/views/components/invoice_table.cljs b/src/cljs/auto_ap/views/components/invoice_table.cljs index 15317959..15bb71f2 100644 --- a/src/cljs/auto_ap/views/components/invoice_table.cljs +++ b/src/cljs/auto_ap/views/components/invoice_table.cljs @@ -170,7 +170,6 @@ [:td (:post-date (:transaction (:payment invoice-payment)))] [:td [buttons/fa-icon {:icon "fa-external-link" - :target "_blank" :href (str (bidi/path-for routes/routes :payments ) "?" (url/map->query {:exact-match-id (:id (:payment invoice-payment))}))}]]])]]]]]