aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Communication.elm
diff options
context:
space:
mode:
authorJoris2016-01-02 22:45:20 +0100
committerJoris2016-01-02 22:45:20 +0100
commitfc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b (patch)
treee05a710b30f749048bb668db1501d2369fa4e666 /src/client/elm/Model/Communication.elm
parent25d15aacb940c2a19cae3b2e3d8d3ebd1972be02 (diff)
downloadbudget-fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b.tar.gz
budget-fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b.tar.bz2
budget-fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b.zip
Merge deletePayment with deleteMonthlyPayment
Diffstat (limited to 'src/client/elm/Model/Communication.elm')
-rw-r--r--src/client/elm/Model/Communication.elm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/elm/Model/Communication.elm b/src/client/elm/Model/Communication.elm
index 616d78f..b8da175 100644
--- a/src/client/elm/Model/Communication.elm
+++ b/src/client/elm/Model/Communication.elm
@@ -6,12 +6,10 @@ 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 Frequency
| SetIncome Time Int
- | DeletePayment Payment Int
- | DeleteMonthlyPayment PaymentId
+ | AddPayment String Int PaymentFrequency
+ | DeletePayment Payment PaymentFrequency
| SignOut