glimpse can use locations

This commit is contained in:
2024-06-28 15:20:04 -07:00
parent 4aed529b3f
commit 49aec3ccf5
3 changed files with 52 additions and 22 deletions

View File

@@ -492,7 +492,8 @@
(and (= (count (:clients args)) 1)
(= 1 (count (:client/locations (:client args))))))
:render (fn [x] [:div.flex.items-center.gap-2 (-> x :invoice/client :client/name)
(com/pill {:color :primary} (-> x :invoice/location)) ])}
(map #(com/pill {:color :primary} (-> % :invoice-expense-account/location))
(:invoice/expense-accounts x)) ])}
{:key "vendor"
:name "Vendor"
:sort-key "vendor"