aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Communication.elm
diff options
context:
space:
mode:
authorJoris2016-01-02 22:19:40 +0100
committerJoris2016-01-02 22:19:40 +0100
commit25d15aacb940c2a19cae3b2e3d8d3ebd1972be02 (patch)
tree6a418a7a31b713a1d39bdb2da1f798ca07266fe1 /src/client/elm/Model/Communication.elm
parent35493d8ec353f90a6ca67e2aedb702684e0abafa (diff)
downloadbudget-25d15aacb940c2a19cae3b2e3d8d3ebd1972be02.tar.gz
budget-25d15aacb940c2a19cae3b2e3d8d3ebd1972be02.tar.bz2
budget-25d15aacb940c2a19cae3b2e3d8d3ebd1972be02.zip
Merge AddPayment and AddMonthlyPayment
Diffstat (limited to 'src/client/elm/Model/Communication.elm')
-rw-r--r--src/client/elm/Model/Communication.elm4
1 files changed, 2 insertions, 2 deletions
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