makes all sales orders use new grid helper

This commit is contained in:
2023-09-27 23:52:57 -07:00
parent da6e492b4d
commit fddd3d9007
14 changed files with 926 additions and 122 deletions

View File

@@ -180,4 +180,37 @@
{:user/name "hydrate-tuples"})
(auto-ap.datomic/audit-transact-batch (->> (dc/q '[:find ?e ?c
:in $
:where [?e :charge/client ?c]]
(dc/db conn)
)
(map (fn [[i c]]
{:db/id i
:charge/client c})))
{:user/name "hydrate-tuples"})
(auto-ap.datomic/audit-transact-batch (->> (dc/q '[:find ?e ?c
:in $
:where [?e :cash-drawer-shift/client ?c]]
(dc/db conn)
)
(map (fn [[i c]]
{:db/id i
:cash-drawer-shift/client c})))
{:user/name "hydrate-tuples"})
(auto-ap.datomic/audit-transact-batch (->> (dc/q '[:find ?e ?c
:in $
:where [?e :sales-refund/client ?c]]
(dc/db conn)
)
(map (fn [[i c]]
{:db/id i
:sales-refund/client c})))
{:user/name "hydrate-tuples"})
)