Show total amount owed across projects #295
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #281 at least for nextcloud accounts. i didn't touched the translations, as i am not sure how.
Motivation: From my side i have multiple projects with my partner(who also has a nextcloud account) and she always like to see how much she is owing me in total, not per project.
For the future to also show amounts owed by non-nextcloud accounts:
The idea could be that if you click on the Total Amount Owed navigation item, that you will then see a total breakdown of all members against each other and the total amount owed for each person. However i am not sure if this is so easily feasible, because a project is shared alone and other projects are not visible. But maybe the api can just calculate this for all projects nevertheless, based on the name of the persons (meaning if different persons have the same name across projects, an admin would need to rename it in one project to fix this case for the calculation)