showing matched rule.

This commit is contained in:
Bryce Covert
2019-05-16 08:34:12 -07:00
parent ac5ffd26fe
commit 8845ec9688
7 changed files with 37 additions and 17 deletions

View File

@@ -90,6 +90,7 @@
(let [results (->> (d/pull-many db '[* {:transaction/client [:client/name :db/id :client/code]
:transaction/bank-account [:bank-account/name :bank-account/code :bank-account/yodlee-account-id :db/id]
:transaction/vendor [:db/id :vendor/name]
:transaction/matched-rule [:db/id :transaction-rule/note]
:transaction/accounts [:transaction-account/amount
:db/id
:transaction-account/location
@@ -117,6 +118,7 @@
'[* {:transaction/client [:client/name :db/id :client/code :client/locations]
:transaction/bank-account [:bank-account/name :bank-account/code :bank-account/yodlee-account-id :db/id]
:transaction/vendor [:db/id :vendor/name]
:transaction/matched-rule [:db/id :transaction-rule/note]
:transaction/accounts [:transaction-account/amount
:db/id
:transaction-account/location

View File

@@ -188,7 +188,8 @@
:vendor {:type :vendor}
:bank_account {:type :bank_account}
:date {:type 'String}
:post_date {:type 'String}}}
:post_date {:type 'String}
:matched_rule {:type :transaction_rule}}}
:transaction_rule {:fields {:id {:type :id}
:note {:type 'String}