Fuentes v0.0.1 Fuentes.Amount

An Amount represents the individual debit or credit for a given account and is part of a balanced entry.

Summary

Functions

Creates an amount changeset associated with a Fuentes.Entry and Fuentes.Account. A type (“credit” or “debit”), as well as, an amount greater than 0 must be specified

Functions

changeset(model, params \\ %{})

Creates an amount changeset associated with a Fuentes.Entry and Fuentes.Account. A type (“credit” or “debit”), as well as, an amount greater than 0 must be specified.