improvements for payment finding
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
[auto-ap.datomic.vendors :as d-vendors]
|
||||
[auto-ap.graphql.utils
|
||||
:refer
|
||||
[->graphql <-graphql assert-can-see-client]]
|
||||
[->graphql <-graphql assert-can-see-client enum->keyword]]
|
||||
[auto-ap.numeric :refer [num->words]]
|
||||
[auto-ap.time :refer [iso-date local-now parse]]
|
||||
[auto-ap.utils :refer [by dollars-0?]]
|
||||
@@ -353,7 +353,7 @@
|
||||
|
||||
(defn get-payment-page [context args value]
|
||||
(let [args (assoc args :id (:id context))
|
||||
[payments checks-count] (d-checks/get-graphql (<-graphql args))]
|
||||
[payments checks-count] (d-checks/get-graphql (update (<-graphql args) :payment-type enum->keyword "payment-type"))]
|
||||
|
||||
[{:payments (->> payments
|
||||
(map (fn [payment]
|
||||
|
||||
Reference in New Issue
Block a user