Repository navigation
feat(recurring): a recurring expense paid by someone else is owed to them - #122
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What and why
A flatmate pays the rent (or the internet) every month and you owe them your part: until now that could only be recorded one occurrence at a time ("Paid for me"). The recurring form now asks Who pays: I do / Someone else (I owe them); with someone else, the item is booked in that person's account, so each confirmed occurrence is your expense and is owed to them (no money leaves your accounts) until you pay them back in Sharing. The list shows "paid by …". Shares are off for such items.
No backend change was needed (a person's account already accepts expenses); integration test added.
How it was tested
Integration: confirming a recurring item paid by a person leaves the owner owing its amount. Checked the form in the desktop app.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UQaLnGPCh9gZrfd5MmzA6U