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

Add info on P account page #982

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Add info on P account page #982

merged 3 commits into from
Apr 11, 2024

Conversation

sloschert
Copy link
Collaborator

In an effort to demystify the "balance" info on the company's p account page, two more pieces of information have been added: "sum of planned p" and "sum of consumed p". The "balance" is then apparently nothing else than the consumed hours subtracted from the planned hours.

In the ShowPAccountDetailsUseCase there is now one database request less needed.

If you find this change sensible I would apply this pattern also to the R, A and PRD accounts.

Plan: b05bef9c-4dbf-4cd1-9e99-59219dfa9c4b (3x)

image

Copy link
Collaborator

@seppeljordan seppeljordan left a comment

Choose a reason for hiding this comment

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

Good change. I had some issues with the wording in the tests though.

tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
tests/use_cases/test_show_p_account_details.py Outdated Show resolved Hide resolved
In an effort to demystify the "balance" info on the company's p account page, two more pieces of information have been added: "sum of planned p" and "sum of consumed p". The "balance" is then apparently nothing else than the consumed hours subtracted from the planned hours.

In the `ShowPAccountDetailsUseCase` there is now one database request less needed.

If you find this change sensible I would apply this pattern also to the R, A and PRD accounts.
Copy link
Collaborator

@seppeljordan seppeljordan left a comment

Choose a reason for hiding this comment

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

Good work. CRx3

@sloschert sloschert merged commit 20b07b3 into master Apr 11, 2024
6 checks passed
@sloschert sloschert deleted the sebas/add-info-to-p branch April 11, 2024 04:53
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.

2 participants