aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model/View/PaymentView.elm
blob: cea7d2e8f80252da45e510bd420090398869d501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
  }