diff options
Diffstat (limited to 'src/client/elm/Model/Payment.elm')
-rw-r--r-- | src/client/elm/Model/Payment.elm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/elm/Model/Payment.elm b/src/client/elm/Model/Payment.elm index cabdd43..31aba1d 100644 --- a/src/client/elm/Model/Payment.elm +++ b/src/client/elm/Model/Payment.elm @@ -6,6 +6,7 @@ module Model.Payment , paymentsDecoder , paymentIdDecoder , deletePayment + , PaymentFrequency(..) ) where import Date exposing (..) @@ -29,6 +30,8 @@ type alias Payment = type alias PaymentId = Int +type PaymentFrequency = Punctual | Monthly + paymentsDecoder : Json.Decoder Payments paymentsDecoder = Json.list paymentDecoder |