now bank accounts exist.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
:user token)
|
||||
:graphql {:token token
|
||||
:query-obj {:venia/queries [[:company
|
||||
[:id :name]]]}
|
||||
[:id :name [:bank-accounts [:id :number :check-number]]]]]}
|
||||
|
||||
:on-success [::received-companies]}}))))
|
||||
|
||||
|
||||
@@ -65,6 +65,13 @@
|
||||
:spec ::entity/name
|
||||
:event ::events/change
|
||||
:subscription editing-company}]]]]
|
||||
|
||||
[horizontal-field
|
||||
[:label.label "Bank Accounts"]
|
||||
[:div.control
|
||||
[:ul
|
||||
(for [{:keys [number check-number id]} (:bank-accounts editing-company)]
|
||||
^{:key id} [:li number " - " check-number])]]]
|
||||
|
||||
|
||||
(when (:saving? editing-company) [:div.is-overlay {:style {"backgroundColor" "rgba(150,150,150, 0.5)"}}])]
|
||||
|
||||
Reference in New Issue
Block a user