diff options
author | Joris | 2015-09-12 23:57:16 +0200 |
---|---|---|
committer | Joris | 2015-09-12 23:57:16 +0200 |
commit | a48e79e2f7c1ab1ffb52b86ef9e900c75c5d023b (patch) | |
tree | 05a613aef2d338f10bcdd394e520450656ed8f1c /src/client/Model/View/LoggedIn | |
parent | d87dbd1360c14df83552fd757438c23e5d7b9f9c (diff) |
Adding UI income read-only
Diffstat (limited to 'src/client/Model/View/LoggedIn')
-rw-r--r-- | src/client/Model/View/LoggedIn/Account.elm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/client/Model/View/LoggedIn/Account.elm b/src/client/Model/View/LoggedIn/Account.elm new file mode 100644 index 0000000..410345c --- /dev/null +++ b/src/client/Model/View/LoggedIn/Account.elm @@ -0,0 +1,19 @@ +module Model.View.LoggedIn.Account + ( Account + , initAccount + ) where + +import Model.Payers exposing (..) + +type alias Account = + { payers : Payers + , income : Maybe Int + , visibleDetail : Bool + } + +initAccount : Payers -> Maybe Int -> Account +initAccount payers income = + { payers = payers + , income = income + , visibleDetail = False + } |