aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Model.elm
diff options
context:
space:
mode:
authorJoris2016-03-27 21:13:37 +0200
committerJoris2016-03-27 21:13:37 +0200
commit0c9d2b91e73f045067f7bcce6e4235fc9008f309 (patch)
tree6aa101db10b72408a9cfa256312cb34e7ec22dff /src/client/elm/LoggedIn/Model.elm
parent7c050fe2d2c3e8f190e019e1613d37b9d8ef22b9 (diff)
downloadbudget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.tar.gz
budget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.tar.bz2
budget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.zip
Regroup add payment modules
Diffstat (limited to 'src/client/elm/LoggedIn/Model.elm')
-rw-r--r--src/client/elm/LoggedIn/Model.elm6
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