now all payments can go through datomic, but pdfs need work.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
:bank_account
|
||||
{:fields {:id {:type 'String}
|
||||
:type {:type 'String}
|
||||
:type {:type :bank_account_type}
|
||||
:number {:type 'String}
|
||||
:check_number {:type 'Int}
|
||||
:name {:type 'String}
|
||||
@@ -110,7 +110,7 @@
|
||||
}}
|
||||
|
||||
:payment {:fields {:id {:type 'String}
|
||||
:type {:type 'String}
|
||||
:type {:type :payment_type}
|
||||
:amount {:type 'String}
|
||||
:vendor {:type :vendor}
|
||||
:client {:type :client}
|
||||
@@ -287,11 +287,16 @@
|
||||
:date {:type 'String}
|
||||
:total {:type 'Float}}}}
|
||||
|
||||
:enums {:payment_type {:values [{:enum-value :check}
|
||||
{:enum-value :cash}
|
||||
{:enum-value :debit}]}
|
||||
:bank_account_type {:values [{:enum-value :check}
|
||||
{:enum-value :cash}]}}
|
||||
:mutations
|
||||
{:print_checks {:type :check_result
|
||||
:args {:invoice_payments {:type '(list :invoice_payment_amount)}
|
||||
:bank_account_id {:type 'String}
|
||||
:type {:type 'String}
|
||||
:type {:type :payment_type}
|
||||
:client_id {:type 'String}}
|
||||
:resolve :mutation/print-checks}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user