1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
module LoggedIn.Monthly.Model ( Model , init ) where import Model.Payment exposing (Payments) type alias Model = { payments : Payments , visibleDetail : Bool } init : Payments -> Model init payments = { payments = payments , visibleDetail = False }