payments work through the ui in datomic

This commit is contained in:
Bryce Covert
2018-08-14 08:41:11 -07:00
parent 67dea65159
commit a25232a195
5 changed files with 67 additions and 35 deletions

View File

@@ -112,13 +112,11 @@
:resolve :get-checks-invoices}
}}
:payment {:fields {:id {:type 'Int}
:payment {:fields {:id {:type 'String}
:type {:type 'String}
:amount {:type 'String}
:vendor {:type :vendor
:resolve :get-vendor-for-check}
:company {:type :company
:resolve :get-company-for-check}
:vendor {:type :vendor}
:client {:type :client}
:date {:type 'String}
:bank_account {:type :bank_account
:resolve :bank-account-for-check}
@@ -193,7 +191,7 @@
:start {:type 'Int}
:end {:type 'Int}}}
:check_page {:fields {:checks {:type '(list :check)}
:check_page {:fields {:checks {:type '(list :payment)}
:count {:type 'Int}
:total {:type 'Int}
:start {:type 'Int}