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

Enforce referenced resources for transactions to be of the same budget #946

Open
morremeyer opened this issue Jan 21, 2024 · 0 comments
Open
Labels
enhancement New feature or improvements to an existing one

Comments

@morremeyer
Copy link
Member

Currently, a transaction can reference source account, destination account and envelope from different budgets.

This needs to be changed: All resources need to belong to the same budget.

This should be verified in an AfterSave(tx *gorm.DB) hook so that it applies to all operations modifying a resource.

@morremeyer morremeyer added the enhancement New feature or improvements to an existing one label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvements to an existing one
Projects
None yet
Development

No branches or pull requests

1 participant