diff options
Diffstat (limited to 'src/server/Model/Message/Key.hs')
-rw-r--r-- | src/server/Model/Message/Key.hs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/server/Model/Message/Key.hs b/src/server/Model/Message/Key.hs index 8f5cf2a..9d1c053 100644 --- a/src/server/Model/Message/Key.hs +++ b/src/server/Model/Message/Key.hs @@ -51,9 +51,8 @@ data Key = | CategoryRequired | CostRequired - | IncomeRequired - | IncomeMustBeNonNullNumber - | IncomeMustBePositiveNumber + | DateValidationError + | IncomeValidationError -- Payments @@ -66,12 +65,10 @@ data Key = -- Income + | AddIncome + | Incomes | Income - | NoIncome - | Edit - | Validate - | Undo - | NewIncome + | IncomeNotDeleted -- Http error |