aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model/View/PaymentView.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Model/View/PaymentView.elm')
-rw-r--r--src/client/Model/View/PaymentView.elm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/Model/View/PaymentView.elm b/src/client/Model/View/PaymentView.elm
index 07bd2ec..2f2be46 100644
--- a/src/client/Model/View/PaymentView.elm
+++ b/src/client/Model/View/PaymentView.elm
@@ -5,11 +5,13 @@ module Model.View.PaymentView
import Model.Payment exposing (Payments)
import Model.View.Payment.Add exposing (..)
+import Model.View.Payment.Edition exposing (..)
type alias PaymentView =
{ userName : String
, add : AddPayment
, payments : Payments
+ , edition : Maybe Edition
}
initPaymentView : String -> Payments -> PaymentView
@@ -17,4 +19,5 @@ initPaymentView userName payments =
{ userName = userName
, add = initAddPayment
, payments = payments
+ , edition = Nothing
}