Skip to content

Fix issue #4 : clubs not able to book more than 12 places per competition#355

Open
Tit-Co wants to merge 4 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:bug/club-not-able-to-book-more-than-12-places-per-competition
Open

Fix issue #4 : clubs not able to book more than 12 places per competition#355
Tit-Co wants to merge 4 commits intoOpenClassrooms-Student-Center:masterfrom
Tit-Co:bug/club-not-able-to-book-more-than-12-places-per-competition

Conversation

@Tit-Co
Copy link

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

Summary

  • A club secretary should not be able to purchase more than 12 places.

Fixes

server.py

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

index Template

  • Used flash messages in index template to inform user.

Tit-Co added 4 commits March 9, 2026 18:08
…ase places with not enough points, update unit tests
…ld not be able to book more than 12 places per competition, update unit tests
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