diff options
author | Joris | 2016-03-27 21:13:37 +0200 |
---|---|---|
committer | Joris | 2016-03-27 21:13:37 +0200 |
commit | 0c9d2b91e73f045067f7bcce6e4235fc9008f309 (patch) | |
tree | 6aa101db10b72408a9cfa256312cb34e7ec22dff /src/client/elm/LoggedIn/Model.elm | |
parent | 7c050fe2d2c3e8f190e019e1613d37b9d8ef22b9 (diff) |
Regroup add payment modules
Diffstat (limited to 'src/client/elm/LoggedIn/Model.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Model.elm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/elm/LoggedIn/Model.elm b/src/client/elm/LoggedIn/Model.elm index 0f677c1..c1c573f 100644 --- a/src/client/elm/LoggedIn/Model.elm +++ b/src/client/elm/LoggedIn/Model.elm @@ -8,15 +8,15 @@ import Model.Payment exposing (Payments, PaymentFrequency(..)) import Model.Payer exposing (Payers) import Model.Init exposing (..) -import Model.View.LoggedIn.AddPayment 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 type alias Model = { users : Users - , add : AddPayment + , add : AddPaymentModel.Model , monthly : Monthly , account : AccountModel.Model , payments : Payments @@ -28,7 +28,7 @@ type alias Model = init : Init -> Model init initData = { users = initData.users - , add = initAddPayment Punctual + , add = AddPaymentModel.init Punctual , monthly = initMonthly initData.monthlyPayments , account = AccountModel.init initData.me initData.incomes , payments = initData.payments |