supports adding conclusions.

This commit is contained in:
Bryce Covert
2019-05-12 09:04:26 -07:00
parent 067fff8588
commit 2146073df8
5 changed files with 192 additions and 76 deletions

View File

@@ -350,6 +350,32 @@
:db/valueType :db.type/long
:db/cardinality :db.cardinality/one
:db/doc "Day of month has to be greater than or equal to this"}
{:db/ident :transaction-rule/vendor
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/one
:db/doc "The vendor to assign"}
{:db/ident :transaction-rule-account/percentage
:db/valueType :db.type/double
:db/cardinality :db.cardinality/one
:db/doc "How much should go to this account"}
{:db/ident :transaction-rule-account/location
:db/valueType :db.type/string
:db/cardinality :db.cardinality/one
:db/doc "The location this split is for"}
{:db/ident :transaction-rule-account/account
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/one
:db/doc "The account of this split"}
{:db/ident :transaction-rule/accounts
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/many
:db/isComponent true
:db/doc "The outcome split"}
]])
(def add-credit-bank-account