diff options
Diffstat (limited to 'src/client/View')
-rw-r--r-- | src/client/View/Payments/Table.elm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/View/Payments/Table.elm b/src/client/View/Payments/Table.elm index b92735a..847c620 100644 --- a/src/client/View/Payments/Table.elm +++ b/src/client/View/Payments/Table.elm @@ -20,10 +20,10 @@ paymentsTable payments = [] ([ tr [] - [ th [] [ renderIcon "user" ] - , th [] [ renderIcon "shopping-cart" ] - , th [] [ renderIcon "euro" ] - , th [] [ renderIcon "calendar" ] + [ th [ class "category" ] [ renderIcon "shopping-cart" ] + , th [ class "cost" ] [ renderIcon "euro" ] + , th [ class "user" ] [ renderIcon "user" ] + , th [ class "date" ] [ renderIcon "calendar" ] ] ] ++ (paymentLines payments)) @@ -38,9 +38,9 @@ paymentLine : Payment -> Html paymentLine payment = tr [] - [ td [] [ text payment.id ] - , td [] [ text payment.name ] + [ td [] [ text payment.name ] , td [] [ text ((toString payment.cost) ++ " €") ] + , td [] [ text payment.userName ] , td [] [ text (renderDate payment.creation) ] ] |