you can choose a bank account to print.
This commit is contained in:
@@ -114,7 +114,9 @@
|
||||
|
||||
:mutations
|
||||
{:print_checks {:type :check_result
|
||||
:args {:invoice_ids {:type '(list Int)}}
|
||||
:args {:invoice_ids {:type '(list Int)}
|
||||
:bank_account_id {:type 'Int}
|
||||
:company_id {:type 'Int}}
|
||||
:resolve :mutation/print-checks}}})
|
||||
|
||||
(defn by [x kf]
|
||||
@@ -223,8 +225,9 @@
|
||||
|
||||
(defn print-checks [context args value]
|
||||
(->graphql
|
||||
|
||||
(rchecks/print-checks (:invoice_ids args))))
|
||||
(rchecks/print-checks (:invoice_ids args)
|
||||
(:company_id args)
|
||||
(:bank_account_id args))))
|
||||
|
||||
(def schema
|
||||
(-> integreat-schema
|
||||
|
||||
Reference in New Issue
Block a user