                  :transaction (r/atom nil)
                  :items (r/atom nil)}]
     (accounts/get-all (:id @state/current-entity)
-                      #(reset! *accounts* (-> % nest unnest))
+                      #(reset! accounts (-> % nest unnest))
                       notify/danger)
     (accounts/get-one id
                       (fn [a]

                                     typeahead-input
                                     required]]))

(def ^:private *accounts* (r/atom []))
(def ^:private *commodities* (r/atom []))

(defn- delete
  [account]


(defn- accounts-source
  [text]
  (->> @accounts
       (filter #(not= -1 (-> (:path %)
                             (.toLowerCase)
                             (.indexOf text))))
