you can choose a bank account to print.

This commit is contained in:
Bryce Covert
2018-05-14 10:15:01 -07:00
parent c2a5808d0c
commit 7a918e06fe
3 changed files with 43 additions and 23 deletions

View File

@@ -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