aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Stat
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/LoggedIn/Stat')
-rw-r--r--src/client/elm/LoggedIn/Stat/View.elm14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/client/elm/LoggedIn/Stat/View.elm b/src/client/elm/LoggedIn/Stat/View.elm
index f4bc56c..6661a75 100644
--- a/src/client/elm/LoggedIn/Stat/View.elm
+++ b/src/client/elm/LoggedIn/Stat/View.elm
@@ -41,8 +41,22 @@ paymentsDetail loggedData payments =
, li
[]
[ text (paymentsSum loggedData.conf payments) ]
+ , li
+ []
+ [ text "Par utilisateur:"
+ , totalPayments loggedData
+ ]
+ ]
+
+totalPayments : LoggedData -> Html
+totalPayments loggedData =
+ ul
+ []
+ [ li [] [ text "Jacques: 1 300€" ]
+ , li [] [ text "Anne: 2 500 €" ]
]
+
monthsDetail : LoggedData -> Html
monthsDetail loggedData =
ul