From 25d15aacb940c2a19cae3b2e3d8d3ebd1972be02 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 2 Jan 2016 22:19:40 +0100 Subject: Merge AddPayment and AddMonthlyPayment --- src/client/elm/Model/Communication.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/elm/Model/Communication.elm') diff --git a/src/client/elm/Model/Communication.elm b/src/client/elm/Model/Communication.elm index a7ec7a5..616d78f 100644 --- a/src/client/elm/Model/Communication.elm +++ b/src/client/elm/Model/Communication.elm @@ -6,11 +6,11 @@ import Time exposing (Time) import Model.User exposing (UserId) import Model.Payment exposing (..) +import Model.View.LoggedIn.AddPayment exposing (Frequency) type Communication = SignIn String - | AddPayment String Int - | AddMonthlyPayment String Int + | AddPayment String Int Frequency | SetIncome Time Int | DeletePayment Payment Int | DeleteMonthlyPayment PaymentId -- cgit v1.2.3