adds cash drawer shifts to datomic cloud
This commit is contained in:
@@ -2040,4 +2040,51 @@
|
||||
:db/cardinality #:db{:ident :db.cardinality/one},
|
||||
:db/doc "Last updated date",
|
||||
:db/ident :yodlee-provider-account/last-updated,
|
||||
}]
|
||||
}
|
||||
|
||||
{:db/ident :cash-drawer-shift/external-id
|
||||
:db/doc "The client for the sale"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one
|
||||
:db/unique :db.unique/identity}
|
||||
|
||||
{:db/ident :cash-drawer-shift/client
|
||||
:db/doc "The client for the sale"
|
||||
:db/valueType :db.type/ref
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/vendor
|
||||
:db/doc "The client for the sale"
|
||||
:db/valueType :db.type/ref
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/location
|
||||
:db/doc "The location of the sale"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/date
|
||||
:db/doc "The date the order was placed"
|
||||
:db/valueType :db.type/instant
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/paid-in
|
||||
:db/doc "The amount of money added to the cash drawer for reasons other than cash payments. "
|
||||
:db/valueType :db.type/double
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/paid-out
|
||||
:db/doc "The amount of money removed from the cash drawer for reasons other than cash refunds."
|
||||
:db/valueType :db.type/double
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/expected-cash
|
||||
:db/doc "The amount of money that should be in the cash drawer at the end of the shift, based on the shift's other money amounts."
|
||||
:db/valueType :db.type/double
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :cash-drawer-shift/opened-cash
|
||||
:db/doc "The amount of money in the cash drawer at the start of the shift."
|
||||
:db/valueType :db.type/double
|
||||
:db/cardinality :db.cardinality/one}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user