diff options
author | Joris | 2016-01-02 22:45:20 +0100 |
---|---|---|
committer | Joris | 2016-01-02 22:45:20 +0100 |
commit | fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b (patch) | |
tree | e05a710b30f749048bb668db1501d2369fa4e666 /src/client/elm/Model/Action/LoggedInAction.elm | |
parent | 25d15aacb940c2a19cae3b2e3d8d3ebd1972be02 (diff) |
Merge deletePayment with deleteMonthlyPayment
Diffstat (limited to 'src/client/elm/Model/Action/LoggedInAction.elm')
-rw-r--r-- | src/client/elm/Model/Action/LoggedInAction.elm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/elm/Model/Action/LoggedInAction.elm b/src/client/elm/Model/Action/LoggedInAction.elm index 00e0a3e..aaf3c7f 100644 --- a/src/client/elm/Model/Action/LoggedInAction.elm +++ b/src/client/elm/Model/Action/LoggedInAction.elm @@ -2,18 +2,17 @@ module Model.Action.LoggedInAction ( LoggedInAction(..) ) where -import Model.Payment exposing (Payments, Payment, PaymentId) +import Model.Payment exposing (Payments, Payment, PaymentId, PaymentFrequency) import Model.Action.MonthlyAction exposing (MonthlyAction) import Model.Action.AccountAction exposing (AccountAction) import Model.Action.AddPaymentAction exposing (AddPaymentAction) -import Model.View.LoggedIn.AddPayment exposing (Frequency) type LoggedInAction = UpdateAdd AddPaymentAction | UpdatePayments Payments - | AddPayment PaymentId String Int Frequency + | AddPayment PaymentId String Int PaymentFrequency + | DeletePayment Payment PaymentFrequency | ToggleEdit PaymentId - | DeletePayment Payment | UpdatePage Int | UpdateMonthly MonthlyAction | UpdateAccount AccountAction |