you can now type expense account

This commit is contained in:
Bryce Covert
2018-09-18 19:53:54 -07:00
parent 5fe4d7e0b3
commit 0fe9dd544a
2 changed files with 39 additions and 1 deletions

View File

@@ -481,7 +481,7 @@
[:tr
[:td.expandable [:div.control
[bind-field
[typeahead {:matches (map (fn [x] [(:id x) (:name x)]) chooseable-expense-accounts)
[typeahead {:matches (map (fn [x] [(:id x) (str (:id x) " - " (:name x))]) chooseable-expense-accounts)
:type "typeahead"
:field [:invoice :expense-accounts index :expense-account-id]
:event change-event