Resets selected on page change, adds account number to drop downs and makes missing emails less noisy

This commit is contained in:
2024-08-22 21:14:43 -07:00
parent 2d6985f5ca
commit d9bd09a9cc
4 changed files with 10 additions and 6 deletions

View File

@@ -369,7 +369,6 @@
true
(merge-query {:query {:where ['[?e :transaction/id]]}}))
_ (alog/peek query)
results (->>
(query2 query)
(map first))]
@@ -431,8 +430,13 @@
:x-model x-model
:value value
:content-fn (fn [value]
(:account/name (d-accounts/clientize (dc/pull (dc/db conn) d-accounts/default-read value)
client-id)))})])
(let [a (dc/pull (dc/db conn) d-accounts/default-read value)]
(when value
(str
(:account/numeric-code a)
" - "
(:account/name (d-accounts/clientize a
client-id))))))})])
(defn- transaction-rule-account-row*
[account client-id client-locations]