Skip to content
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

Keep track of balance after prepay change #109

Open
jvanderbiest opened this issue Dec 1, 2016 · 2 comments
Open

Keep track of balance after prepay change #109

jvanderbiest opened this issue Dec 1, 2016 · 2 comments

Comments

@jvanderbiest
Copy link
Contributor

When adding or removing funds, keep the exact balance after change in the database.

@tomkerkhove
Copy link
Contributor

I'm just wondering - Do we keep an audit trail of whom changed the balance?
ie. funds added by X, lunch ordered by Y, etc.

@jvanderbiest
Copy link
Contributor Author

jvanderbiest commented Dec 2, 2016

yes, currently we keep track of the people and the amount during an update of your balance (starting here: https://github.com/CoditEU/lunchorder/blob/master/backend/WebApi/Lunchorder.Api/Controllers/BalanceController.cs#L44). But I would also like to have the exact current balance at the time of change so you can track back easily in case of problems.

@jvanderbiest jvanderbiest added this to the June 2017 Release milestone Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants