This is my idea, how would you do it? I’m sure there must be a better way.
This is the thing.
Of a community of 1000 members, 100 are paying members
This week a band tour of 20 gigs will be announced.
Everyday there are 3 free spots on the guest list for the paying members.
What’s the best way to to this? This is my way.
- Check if a member is a paying member
- If the member is a paying member show 3 buttons for a free ticket each
- If a member pushes a button, fill the column with the corresponding mailadress
- If one ticket has been reserved, so if the column is not empty anymore, hide that button, when 3 tickets have been reserved, hide all buttons.
- If all tickets have been reserved show hint component that there is no ticket left.
How would you do it?