a much better general ledger profit and loss.

This commit is contained in:
Bryce Covert
2020-07-16 22:20:35 -07:00
parent e0b636c2fa
commit 976cd1e7c3
9 changed files with 347 additions and 363 deletions

View File

@@ -77,10 +77,11 @@
(re-frame/reg-sub
::accounts-by-id
:<- [::accounts]
:<- [::client]
(fn [[accounts client] [_ client-override]]
(accounts-by-id accounts (or client-override client))))
(fn [[_ client-override]]
[(re-frame/subscribe [::accounts client-override])
(re-frame/subscribe [::client])])
(fn [[accounts client] ]
(accounts-by-id accounts client)))
(re-frame/reg-sub
::bank-accounts