only chooseable expense accounts.

This commit is contained in:
BC
2018-07-05 21:40:00 -07:00
parent cd82f62c15
commit 57062b4a34
4 changed files with 13 additions and 4 deletions

View File

@@ -378,7 +378,7 @@
[:tr
[:td [:div.control
[bind-field
[typeahead {:matches (map (fn [x] [(:id x) (:name x)]) @(re-frame/subscribe [::subs/expense-accounts]))
[typeahead {:matches (map (fn [x] [(:id x) (:name x)]) @(re-frame/subscribe [::subs/chooseable-expense-accounts]))
:type "typeahead"
:field [:invoice :expense-accounts index :expense-account-id]
:event change-event