Closed
Description
As a user, I would like to be able to attach files to expenses.
Typical use cases:
- Someone pays the bill at a restaurant, and immediately adds the picture of the receipt.
- Someone books something online (accommodation, entertainment, etc) and adds a PDF to the expense.
On a mobile device, receipts can be added from the gallery, or from the camera directly (I believe the mobile operating systems can handle that case directly).
As I user, I want to:
- be able to add an attachment when creating a new expense or when editing an existing one.
- see existing attachments on an expense.
- replace or delete existing attachments.
The first version would simply store the files directly on the same host the server is running.
On a technical level, ideally the directory/folder where the attachments are stored should be configurable (with an env variable).
Later, we could implement more storage mechanisms (FTP, SFTP, S3, etc.)