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/Payment.elm | |
parent | 25d15aacb940c2a19cae3b2e3d8d3ebd1972be02 (diff) |
Merge deletePayment with deleteMonthlyPayment
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 |