Skip to content

Limit number of germinations to number of seeds #9

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

Open
jhrcook opened this issue Nov 5, 2019 · 0 comments
Open

Limit number of germinations to number of seeds #9

jhrcook opened this issue Nov 5, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jhrcook
Copy link
Owner

jhrcook commented Nov 5, 2019

Currently, there can be more germinations than there were plants sown. This is a logic flaw.

The plants manager should throw an error saying that the user is trying to add too many germinations. Then the controller that is requesting the change can respond with an alert for the user.

There are two places where germinations can be added: the information view with a simple addition to the current day, and when the user is manually adding germinations to any date.

@jhrcook jhrcook added the bug Something isn't working label Nov 5, 2019
@jhrcook jhrcook self-assigned this Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant