Skip to content

Fix issue #2 : club not able to use more than points allowed#354

Open
Tit-Co wants to merge 3 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:bug/club-not-able-to-use-more-than-points-allowed
Open

Fix issue #2 : club not able to use more than points allowed#354
Tit-Co wants to merge 3 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:bug/club-not-able-to-use-more-than-points-allowed

Conversation

@Tit-Co
Copy link

@Tit-Co Tit-Co commented Mar 11, 2026

Summary

  • A club secretary should not be able to purchase more places than the points allowed.

Fixes

server.py

  • Fixed bug by checking the club points in purchasePlaces() method in server.py before making the operation and returning as well a message to the secretary as the purchase is not possible.

index Template

  • Used flash messages in index template to inform user.

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.

1 participant