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/Model.elm | |
parent | 0c9d2b91e73f045067f7bcce6e4235fc9008f309 (diff) |
Regroup monthly modules
Diffstat (limited to 'src/client/elm/LoggedIn/Model.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Model.elm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client/elm/LoggedIn/Model.elm b/src/client/elm/LoggedIn/Model.elm index c1c573f..8f0843e 100644 --- a/src/client/elm/LoggedIn/Model.elm +++ b/src/client/elm/LoggedIn/Model.elm @@ -3,21 +3,20 @@ module LoggedIn.Model , init ) where +import Model.View.LoggedIn.Edition exposing (..) import Model.User exposing (Users, UserId) import Model.Payment exposing (Payments, PaymentFrequency(..)) import Model.Payer exposing (Payers) import Model.Init exposing (..) -import Model.View.LoggedIn.Edition exposing (..) -import Model.View.LoggedIn.Monthly exposing (..) - import LoggedIn.Account.Model as AccountModel import LoggedIn.AddPayment.Model as AddPaymentModel +import LoggedIn.Monthly.Model as MonthlyModel type alias Model = { users : Users , add : AddPaymentModel.Model - , monthly : Monthly + , monthly : MonthlyModel.Model , account : AccountModel.Model , payments : Payments , paymentsCount : Int @@ -29,7 +28,7 @@ init : Init -> Model init initData = { users = initData.users , add = AddPaymentModel.init Punctual - , monthly = initMonthly initData.monthlyPayments + , monthly = MonthlyModel.init initData.monthlyPayments , account = AccountModel.init initData.me initData.incomes , payments = initData.payments , paymentsCount = initData.paymentsCount |