blob: e448b660f911e4ddd90003415aa18442cc0de73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
module LoggedIn.Home.Model exposing
( Model
, init
)
import Model.User exposing (Users, UserId)
import Model.Payment exposing (PaymentId, Payments, Frequency(..))
import Model.Payer exposing (Payers)
import LoggedIn.Home.AddPayment.Model as AddPaymentModel
type alias Model =
{ add : AddPaymentModel.Model
, paymentEdition : Maybe PaymentId
, currentPage : Int
, monthlyDetail : Bool
}
init : Model
init =
{ add = AddPaymentModel.init Punctual
, paymentEdition = Nothing
, currentPage = 1
, monthlyDetail = False
}
|