aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model/View/PaymentView.elm
diff options
context:
space:
mode:
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
- }