adds client label and allows sorting by date, status, amount.

This commit is contained in:
Bryce
2024-08-30 09:05:40 -07:00
parent 3b410cf200
commit ef6f0aef7d
2 changed files with 5 additions and 4 deletions

View File

@@ -477,9 +477,7 @@
:hide? (fn [args]
(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)
(map #(com/pill {:color :primary} (-> % :invoice-expense-account/location))
(:invoice/expense-accounts x)) ])}
:render (fn [x] [:div.flex.items-center.gap-2 (-> x :journal-entry/client :client/name) ])}
{:key "vendor"
:name "Vendor"