aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model/View/PaymentView.elm
diff options
context:
space:
mode:
authorJoris2015-09-04 09:52:20 +0200
committerJoris2015-09-04 09:52:20 +0200
commitc1f44a5890fbb26faf6f17c676662ea1bd495f2e (patch)
treef158bdef5bd985a9b11d46d12878d566268cf6cc /src/client/Model/View/PaymentView.elm
parent889df8caf04de5f10a9e623bab3e502e9573159d (diff)
downloadbudget-c1f44a5890fbb26faf6f17c676662ea1bd495f2e.tar.gz
budget-c1f44a5890fbb26faf6f17c676662ea1bd495f2e.tar.bz2
budget-c1f44a5890fbb26faf6f17c676662ea1bd495f2e.zip
Adding paging (need some fixes)
Diffstat (limited to 'src/client/Model/View/PaymentView.elm')
-rw-r--r--src/client/Model/View/PaymentView.elm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Model/View/PaymentView.elm b/src/client/Model/View/PaymentView.elm
index 117be59..bf5804f 100644
--- a/src/client/Model/View/PaymentView.elm
+++ b/src/client/Model/View/PaymentView.elm
@@ -15,6 +15,7 @@ type alias PaymentView =
, paymentsCount : Int
, payers : Payers
, edition : Maybe Edition
+ , currentPage : Int
}
initPaymentView : String -> Payments -> Int -> Payers -> PaymentView
@@ -25,4 +26,5 @@ initPaymentView userName payments paymentsCount payers =
, paymentsCount = paymentsCount
, payers = payers
, edition = Nothing
+ , currentPage = 1
}