Makes multiple client selection somewhat possible via graphql.
This commit is contained in:
@@ -433,7 +433,7 @@
|
||||
(let [[payments checks-count] (d-checks/get-graphql (-> args
|
||||
:filters
|
||||
(<-graphql)
|
||||
(assoc :id (:id context))
|
||||
(assoc :clients (:clients context))
|
||||
(update :payment-type enum->keyword "payment-type")
|
||||
(update :status enum->keyword "payment-status")))]
|
||||
|
||||
@@ -557,10 +557,10 @@
|
||||
|
||||
(defn void-payments [context args _]
|
||||
(assert-admin (:id context))
|
||||
(let [args (assoc args :id (:id context))
|
||||
(let [args (assoc args :clients (:clients context))
|
||||
ids (some-> args
|
||||
:filters
|
||||
(assoc :id (:id context))
|
||||
(assoc :clients (:clients context))
|
||||
(<-graphql)
|
||||
(update :payment-type enum->keyword "payment-type")
|
||||
(update :status enum->keyword "payment-status")
|
||||
|
||||
Reference in New Issue
Block a user