Commit Graph

3 Commits

Author SHA1 Message Date
Etienne Marais 99de2c73ee
Renamed back to access codes since it explains it better 2019-02-14 17:02:24 +02:00
Etienne Marais b525a561c8
Log usage when a code gets used from the front end. Also cleaned the frontend input when comparing against the database code 2019-02-13 15:35:48 +02:00
Etienne Marais 54861755b4
Hidden ticket access codes (#1)
# Summary

Added the ability to specify hidden ticket access codes on an event. This would allow for special types of tickets to be created on an event and have an unlock code link to one or many hidden tickets.

## Value

The value this adds is to allow event organisers to play with marketing to aid in ticket sales etc.

## Changes

**Admin**
- Added migrations to allow for the access codes table on events and the pivot for many to many codes to tickets
- Added the ability to create an access code in the event customisation 
- Added the ability to view access codes on a hidden ticket
- Added the ability to attach one or multiple access code(s) onto the hidden ticket

**Public event page**
- Shows a box to enter your access code if the event has hidden tickets
- Added the validation messages for empty codes
- Added the check to fetch the hidden tickets if the code was entered correctly
2019-01-16 20:33:32 +02:00