diff options
author | Joris | 2015-09-06 12:39:03 +0200 |
---|---|---|
committer | Joris | 2015-09-06 12:39:03 +0200 |
commit | e10531ba4e60c8709088798763ae3bae6608f9c9 (patch) | |
tree | f1550fab8833f0b31831ebb2e943a51eeaa41ee2 /src/client/Model/View/Payment/Monthly.elm | |
parent | 24633871359ec9fbd63fdfebf79a6351b2792f77 (diff) |
Show montly payments with an expandable mechanism
Diffstat (limited to 'src/client/Model/View/Payment/Monthly.elm')
-rw-r--r-- | src/client/Model/View/Payment/Monthly.elm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/Model/View/Payment/Monthly.elm b/src/client/Model/View/Payment/Monthly.elm new file mode 100644 index 0000000..15a5f2e --- /dev/null +++ b/src/client/Model/View/Payment/Monthly.elm @@ -0,0 +1,17 @@ +module Model.View.Payment.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 + } |