happeninghq / happening

Open Source Event/Community management
MIT License
2 stars 1 forks source link

Some code relies on a ticket representing a single person #36

Closed jscott1989 closed 9 years ago

jscott1989 commented 9 years ago

Some of the code is treating a Ticket as a representation of a single person at an event. Other code is treating a Ticket as representing an order of potentially multiple people at an event.

This needs to be separated into two separate things. For the time being people should be limited to a single ticket per account so the first assumption holds.

jscott1989 commented 9 years ago

As a temporary measure I've limited it to one ticket per account

jscott1989 commented 9 years ago

Tickets now represent a single person, a "TicketOrder" represents a group of tickets purchased together.

Now code can distinguish between these two concepts.