aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/AddPayment/Action.elm
diff options
context:
space:
mode:
authorJoris2016-03-27 21:13:37 +0200
committerJoris2016-03-27 21:13:37 +0200
commit0c9d2b91e73f045067f7bcce6e4235fc9008f309 (patch)
tree6aa101db10b72408a9cfa256312cb34e7ec22dff /src/client/elm/LoggedIn/AddPayment/Action.elm
parent7c050fe2d2c3e8f190e019e1613d37b9d8ef22b9 (diff)
downloadbudget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.tar.gz
budget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.tar.bz2
budget-0c9d2b91e73f045067f7bcce6e4235fc9008f309.zip
Regroup add payment modules
Diffstat (limited to 'src/client/elm/LoggedIn/AddPayment/Action.elm')
-rw-r--r--src/client/elm/LoggedIn/AddPayment/Action.elm11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/elm/LoggedIn/AddPayment/Action.elm b/src/client/elm/LoggedIn/AddPayment/Action.elm
new file mode 100644
index 0000000..41d4f5b
--- /dev/null
+++ b/src/client/elm/LoggedIn/AddPayment/Action.elm
@@ -0,0 +1,11 @@
+module LoggedIn.AddPayment.Action
+ ( Action(..)
+ ) where
+
+type Action =
+ NoOp
+ | UpdateName String
+ | UpdateCost String
+ | AddError (Maybe String) (Maybe String)
+ | ToggleFrequency
+ | WaitingServer