aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/View/LoggedIn/Monthly.elm
blob: 3c6f66a3244c5d0be1e007eb6cc60272d76051b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Model.View.LoggedIn.Monthly
  ( Monthly
  , initMonthly
  ) where

import Model.Payment exposing (Payments)

type alias Monthly =
  { payments : Payments
  , visibleDetail : Bool
  }

initMonthly : Payments -> Monthly
initMonthly payments =
  { payments = payments
  , visibleDetail = False
  }