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

As a User, I want a Group Transactions, so I can split a single Transaction into multiple categories #20

Open
5 tasks
eirvandelden opened this issue Oct 9, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@eirvandelden
Copy link
Owner

eirvandelden commented Oct 9, 2020

Voorbeeld:
2 Dingen gehaald bij de Hema voor €27; €10 aan boodschappen, €17 aan cadeautjes. Dan moeten er 3 Transactions gekoppeld worden:

  • 27 euro aan Hema
  • 17 euro uit cadeautjes
  • 10 euro uit boodschappen

https://guides.rubyonrails.org/association_basics.html#self-joins

TODO:

  • Transaction has_many :related_transactions
  • Transaction.belongs_to :parent_transaction
  • Migration transaction references ':parent_transaction'
  • Add parent transaction to transaction#edit page
  • Show a short list of +10 until -10 transactions of possible related transactions

Optional:
checkboxes: http://railscasts.com/episodes/17-habtm-checkboxes-revised moved to #33

@eirvandelden eirvandelden self-assigned this Oct 9, 2020
@eirvandelden eirvandelden changed the title As a User, I want to relate two or more Postings, So I can quickly find what postings I need to take out of a different savings account As a User, I want to relate two or more Transactions, So I can quickly find what postings I need to take out of a different savings account Oct 9, 2020
@eirvandelden eirvandelden added the enhancement New feature or request label May 18, 2021
@eirvandelden eirvandelden changed the title As a User, I want to relate two or more Transactions, So I can quickly find what postings I need to take out of a different savings account As a User, I want a Transaction to consist of Mutations, So I can quickly get the current value of an account without resorting to another table Mar 24, 2024
@eirvandelden eirvandelden changed the title As a User, I want a Transaction to consist of Mutations, So I can quickly get the current value of an account without resorting to another table As a User, I want a Group Transactions, so I can split a single Transaction into multiple categories Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant