diff options
Diffstat (limited to 'src/client/Model/View/PaymentView.elm')
-rw-r--r-- | src/client/Model/View/PaymentView.elm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/client/Model/View/PaymentView.elm b/src/client/Model/View/PaymentView.elm new file mode 100644 index 0000000..cea7d2e --- /dev/null +++ b/src/client/Model/View/PaymentView.elm @@ -0,0 +1,19 @@ +module Model.View.PaymentView + ( PaymentView + , initPaymentView + ) where + +import Model.Payment exposing (Payments) + +type alias PaymentView = + { name : String + , cost : String + , payments : Payments + } + +initPaymentView : Payments -> PaymentView +initPaymentView payments = + { name = "" + , cost = "" + , payments = payments + } |