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

feature(Budget) #7435

Merged
Merged

Conversation

lomamech
Copy link
Collaborator

  • exclude locked accounts in the budget management module

closes #7434

@lomamech lomamech requested a review from jmcameron January 24, 2024 18:07
Copy link
Collaborator

@jmcameron jmcameron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look fine. However, since only accounts with a.locked=0 are permitted, there is no need to for 'acctLocked' on line 96 of index.js. So please remove it.

BTW, github updated your Pull Request, so be sure to do git pull in your local branch before making changes.

@lomamech lomamech force-pushed the improveBudgetModules branch from 8f3158d to fca490a Compare January 25, 2024 09:50
- exclude locked accounts in the budget management module

closes Third-Culture-Software#7434
@lomamech lomamech force-pushed the improveBudgetModules branch from fca490a to 7cfb8ec Compare January 25, 2024 09:53
Copy link
Collaborator

@jmcameron jmcameron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good.
The tests pass.
I tested this in the browser and it works.

I even modified the CSV file to include a locked account. The budget for the locked account was imported, although it was not displayed in the Budget page. So this is an unusual case that should be resolved in the future. I'll add an issue for it.

@jmcameron jmcameron merged commit 242b702 into Third-Culture-Software:master Jan 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclusion of locked accounts with the budget management module
2 participants