Skip to content
Snippets Groups Projects
Commit 72c54232 authored by Aaron Dötsch's avatar Aaron Dötsch
Browse files

Add custom code explanation to README

parent 96cf56cd
No related branches found
No related tags found
No related merge requests found
......@@ -13,3 +13,27 @@ To start it you then just have to set up the `docker-compose.yml` and use `docke
## Setup
Go to `[url]/setup`. There you can create your first user with admin priviliges.
## Custom Codes
There is no low/negative balance penalty on custom codes.
### Pfand
Use the code `#PFAND-[amount]` to add Pfand to your shopping cart.
Example: `#PFAND-8` adds a Pfand item to the shopping cart worth eight cents.
### Custom
For anything that is not listed in the shop page you can use this custom code. `#CUSTOM-[amount]` adds the item to your cart. It works exactly the same way as the Pfand code, the only difference is the semantics.
Example: `#CUSTOM-200` adds a custom item to the shopping cart worth two euros.
### Transfer
Unless you log in with a card that has the `CANT_TRANSFER` flag set, you can transfer money to other people. Thus paying your part in some purchase made by one for multiple people gets fairly easy. To do that use the `#TRANSFER-[userId]-[amount]` code.
Example: `#TRANSFER-4-90` transfers 90 cents from your account to the user with the id 4.
**Important:** You can only transfer money that you currently have. While spending money you don't have to buy items is possible, sending money you don't have to someone is not.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment