aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model/View/PaymentView.elm
diff options
context:
space:
mode:
authorJoris2015-09-05 14:14:25 +0200
committerJoris2015-09-05 14:14:25 +0200
commitcc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a (patch)
treefe60948b87993908f73659c9dbd7ffd96498b7f8 /src/client/Model/View/PaymentView.elm
parent3b738e0d4cc65f314da7389d4542ec826ba0f454 (diff)
downloadbudget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.tar.gz
budget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.tar.bz2
budget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.zip
Renaming PaymentView to LoggedView
Diffstat (limited to 'src/client/Model/View/PaymentView.elm')
-rw-r--r--src/client/Model/View/PaymentView.elm33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/client/Model/View/PaymentView.elm b/src/client/Model/View/PaymentView.elm
deleted file mode 100644
index 93ab457..0000000
--- a/src/client/Model/View/PaymentView.elm
+++ /dev/null
@@ -1,33 +0,0 @@
-module Model.View.PaymentView
- ( PaymentView
- , initPaymentView
- ) where
-
-import Model.User exposing (Users, UserId)
-import Model.Payment exposing (Payments)
-import Model.Payers exposing (Payers)
-import Model.View.Payment.Add exposing (..)
-import Model.View.Payment.Edition exposing (..)
-
-type alias PaymentView =
- { users : Users
- , me : UserId
- , add : AddPayment
- , payments : Payments
- , paymentsCount : Int
- , payers : Payers
- , edition : Maybe Edition
- , currentPage : Int
- }
-
-initPaymentView : Users -> UserId -> Payments -> Int -> Payers -> PaymentView
-initPaymentView users me payments paymentsCount payers =
- { users = users
- , me = me
- , add = initAddPayment
- , payments = payments
- , paymentsCount = paymentsCount
- , payers = payers
- , edition = Nothing
- , currentPage = 1
- }