Skip to main content

Module contracts

Module contracts 

Source
Expand description

Contracts and subscriptions, for the window (docs/accounting.md): the list on the Budgets page, the recurring payments that have no contract yet, the form, the letter that stops one, a mail kept as a contract.

StructsΒ§

Choice πŸ”’
ContractView πŸ”’
Edit πŸ”’
PresetChoice πŸ”’
Suggestion πŸ”’
View πŸ”’

FunctionsΒ§

contracts πŸ”’
cost_of πŸ”’
from_card πŸ”’
What a mail says of a contract, to start the form: who sent it, its subject, the kind they suggest.
ledger πŸ”’
letter πŸ”’
The letter that stops a contract, as a draft to read, sign and send: to its address when it is a mail address. Returns {β€œdraft”} or {β€œerror”}.
line_of πŸ”’
remove πŸ”’
save πŸ”’
A contract saved (new when id is empty); returns what went wrong, else β€œβ€.
view πŸ”’
The Budgets page’s contracts, as JSON.