visual tweaks

This commit is contained in:
Bryce Covert
2020-08-03 20:16:36 -07:00
parent d989279058
commit 283cbece9a
3 changed files with 11 additions and 7 deletions

View File

@@ -121,8 +121,8 @@
(r/create-class {:reagent-render
(fn [{:keys [fullwidth]}]
(into
[:table.table.compact {:class (if fullwidth
["is-fullwidth"])}]
[:table.table.compact.grid {:class (if fullwidth
["is-fullwidth"])}]
(r/children (r/current-component))))}))
(defn header []

View File

@@ -25,6 +25,10 @@
::report
:periods
(mapcat :accounts)
(group-by :location)
(filter (fn [[k as]]
(not (dollars-0? (reduce + 0 (map :amount as))))))
(mapcat second)
(map :location)
(map not-empty)
(filter #(not= "A" %))