added basics of ccp processor visibility.

This commit is contained in:
2021-06-04 23:01:59 -07:00
parent 922c449bb0
commit 002dcfc5ac
7 changed files with 40 additions and 10 deletions

View File

@@ -92,6 +92,7 @@
:db/cardinality :db.cardinality/one}
]]}
:add-expected-deposits {:txes [[{:db/ident :expected-deposit/external-id
:db/doc "The external id for the deposit"
:db/valueType :db.type/string
@@ -123,6 +124,7 @@
:db/valueType :db.type/double
:db/cardinality :db.cardinality/one}]]}
:add-discounts {:txes [[{:db/ident :sales-order/discount
:db/doc "The total amount on the sale"
:db/valueType :db.type/double
@@ -145,7 +147,21 @@
{:db/ident :sales-order/service-charge
:db/doc "The total cost on the item"
:db/valueType :db.type/double
:db/cardinality :db.cardinality/one}]]}})
:db/cardinality :db.cardinality/one}]]}
:add-food-apps {:txes [[{:db/ident :ccp-processor/doordash
:db/doc "Doordash identifier"}
{:db/ident :ccp-processor/grubhub
:db/doc "Grubhub identifier"}
{:db/ident :ccp-processor/uber-eats
:db/doc "Uber eats processor"}
{:db/ident :ccp-processor/na
:db/doc "No specific ccp processor"}
{:db/ident :charge/processor
:db/doc "Which food app processed this order"
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/one}]]}})