diff options
author | Joris | 2016-03-27 21:24:11 +0200 |
---|---|---|
committer | Joris | 2016-03-27 21:24:11 +0200 |
commit | 617d30c96792795ab8561a6262c4c5f4e023b6cf (patch) | |
tree | 3174d82e3839e942a4be17a065415b497405fd0b /src/client/elm/LoggedIn/Monthly/Model.elm | |
parent | 0c9d2b91e73f045067f7bcce6e4235fc9008f309 (diff) |
Regroup monthly modules
Diffstat (limited to 'src/client/elm/LoggedIn/Monthly/Model.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Monthly/Model.elm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/elm/LoggedIn/Monthly/Model.elm b/src/client/elm/LoggedIn/Monthly/Model.elm new file mode 100644 index 0000000..16009d6 --- /dev/null +++ b/src/client/elm/LoggedIn/Monthly/Model.elm @@ -0,0 +1,17 @@ +module LoggedIn.Monthly.Model + ( Model + , init + ) where + +import Model.Payment exposing (Payments) + +type alias Model = + { payments : Payments + , visibleDetail : Bool + } + +init : Payments -> Model +init payments = + { payments = payments + , visibleDetail = False + } |