aboutsummaryrefslogtreecommitdiff
path: root/src/client/View/Payments.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/View/Payments.elm')
-rw-r--r--src/client/View/Payments.elm7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/View/Payments.elm b/src/client/View/Payments.elm
index 7f0c66b..ba930b5 100644
--- a/src/client/View/Payments.elm
+++ b/src/client/View/Payments.elm
@@ -5,16 +5,17 @@ module View.Payments
import Html exposing (..)
import Html.Attributes exposing (..)
+import Model exposing (Model)
import Model.Payment exposing (Payments)
import Model.View.PaymentView exposing (PaymentView)
import View.Payments.Add exposing (addPayment)
import View.Payments.Table exposing (paymentsTable)
-renderPayments : PaymentView -> Html
-renderPayments paymentView =
+renderPayments : Model -> PaymentView -> Html
+renderPayments model paymentView =
div
[ class "payments" ]
- [ addPayment paymentView.add
+ [ addPayment model paymentView.add
, paymentsTable paymentView.payments
]