create penguin tickets through their category

This commit is contained in:
Clinton Roy 2019-09-24 19:23:53 +10:00 committed by Joel Addison
parent 9d37326953
commit dfcd2acc74

View file

@ -524,16 +524,22 @@ SPONSOR = Ticket("Sponsor", Decimal("0.0"), None)
CONFERENCE_ORG = Ticket("Conference Organiser", Decimal("0.0"), None)
CONFERENCE_VOL = Ticket("Conference Volunteer", Decimal("0.0"), None)
PENGUIN_DINNER_ADULT = PenguinDinnerTicket("Adult", Decimal("95.00"),
"Includes an adult's meal and full beverage service.")
PENGUIN_DINNER_CHILD = PenguinDinnerTicket("Child", Decimal("50.00"),
"Children 14 and under. "
"Includes a child's meal and soft drink service.")
PENGUIN_DINNER_INFANT = PenguinDinnerTicket("Infant", Decimal("0.0"),
"Includes no food or beverage service.")
PENGUIN_DINNER = PenguinDinnerCat
PENGUIN_DINNER_ADULT = PenguinDinnerCat.create(
"Adult", Decimal("95.00"),
"Includes an adult's meal and full beverage service.",
timedelta(hours=1))
PENGUIN_DINNER_CHILD = PenguinDinnerCat.create(
"Child", Decimal("50.00"),
"Children 14 and under. "
"Includes a child's meal and soft drink service.",
timedelta(hours=1))
PENGUIN_DINNER_INFANT = PenguinDinnerCat.create(
"Infant", Decimal("0.0"),
"Includes no food or beverage service.",
timedelta(hours=1))
SPEAKERS_DINNER = SpeakersDinnerCat
PENGUIN_DINNER = PenguinDinnerCat
SPEAKERS_DINNER_ADULT = SpeakersDinnerCat.create(
"Adult", Decimal("100.00"),