Makes insights work

This commit is contained in:
Bryce
2023-07-13 20:50:14 -07:00
parent 50df971e9c
commit 184f04681c
6 changed files with 57 additions and 24 deletions

View File

@@ -13,9 +13,6 @@
[datomic.api :as dc]
[iol-ion.query :refer [can-see-client?]]))
<<<<<<< HEAD
(defn get-1099-companies [user session]
=======
(def vendor-read '[:db/id
:vendor/name
{:vendor/legal-entity-1099-type [:db/ident]}
@@ -48,7 +45,6 @@
vendor-id)))
(defn get-1099-companies [user {:keys [client-id] :as args}]
>>>>>>> 425942581295562d2c57843d7b19d9d4de962eda
(let [clients (->> (dc/q '[:find ?c
:in $ ?user
:where [?c :client/code]