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

import Model.Payers exposing (..)

type alias Account =
  { payers : Payers
  , income : Maybe Int
  , visibleDetail : Bool
  }

initAccount : Payers -> Maybe Int -> Account
initAccount payers income =
  { payers = payers
  , income = income
  , visibleDetail = False
  }