Skip to content

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

@morremeyer

Description

@morremeyer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvements to an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions