-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amounts in configuration file #5
Comments
Is this still relevant? |
How would this be useful? |
I thought it would be nice to have the currency and variety of paper money to be configurable. Maybe it's better to make them managable in the web interface as well. |
So, how would we want to make this configurable? I don't really see this being useful in the web interface. A simple config file perhaps like this could be used: currency:
name: euro
symbol: €
amounts:
- amount: 2
image: <path>
- amount: 5
image: <path>
[…] Do we need more things configurable? |
Another thing: Do we want to expose this via the API? The API doesn't know anything about amounts, currently. |
I'll implement an endpoint in v3 to configure the valid amounts of deposits, etc. The images for the can be linked via the already existing endpoint for image handling. |
Do we really want this to be user-configurable? |
We can implement this via the general informations, the server gives at the /info/ endpoint. Or an endpoint which is write-protected via a secret to be set in the config file of the server implementation. In general I would prefere to to configure it via the api. |
The amounts for deposit and payment should be configured in a file
The text was updated successfully, but these errors were encountered: