should fix email list in profit and loss.
This commit is contained in:
@@ -77,15 +77,19 @@
|
|||||||
(map cleanse)))
|
(map cleanse)))
|
||||||
|
|
||||||
(defn get-minimal []
|
(defn get-minimal []
|
||||||
(->> (dc/q '[:find (pull ?e [:client/name :client/code :client/locations :db/id {:client/bank-accounts [{:bank-account/type [:db/ident]}
|
(->> (dc/q '[:find (pull ?e [:client/name :client/code :client/locations :db/id
|
||||||
:bank-account/name
|
{:client/bank-accounts [{:bank-account/type [:db/ident]}
|
||||||
:bank-account/sort-order
|
:bank-account/name
|
||||||
:bank-account/bank-name
|
:bank-account/sort-order
|
||||||
:bank-account/visible
|
:bank-account/bank-name
|
||||||
:bank-account/current-balance
|
:bank-account/visible
|
||||||
:bank-account/locations
|
:bank-account/current-balance
|
||||||
:bank-account/code
|
:bank-account/locations
|
||||||
:db/id]}])
|
:bank-account/code
|
||||||
|
:db/id]
|
||||||
|
:client/emails [:db/id
|
||||||
|
:email-contact/email
|
||||||
|
:email-contact/description]}])
|
||||||
:where [?e :client/name]]
|
:where [?e :client/name]]
|
||||||
(dc/db conn))
|
(dc/db conn))
|
||||||
(map first)
|
(map first)
|
||||||
|
|||||||
Reference in New Issue
Block a user