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_ORG = Ticket("Conference Organiser", Decimal("0.0"), None)
CONFERENCE_VOL = Ticket("Conference Volunteer", Decimal("0.0"), None) CONFERENCE_VOL = Ticket("Conference Volunteer", Decimal("0.0"), None)
PENGUIN_DINNER_ADULT = PenguinDinnerTicket("Adult", Decimal("95.00"), PENGUIN_DINNER = PenguinDinnerCat
"Includes an adult's meal and full beverage service.") PENGUIN_DINNER_ADULT = PenguinDinnerCat.create(
PENGUIN_DINNER_CHILD = PenguinDinnerTicket("Child", Decimal("50.00"), "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. " "Children 14 and under. "
"Includes a child's meal and soft drink service.") "Includes a child's meal and soft drink service.",
PENGUIN_DINNER_INFANT = PenguinDinnerTicket("Infant", Decimal("0.0"), timedelta(hours=1))
"Includes no food or beverage service.") PENGUIN_DINNER_INFANT = PenguinDinnerCat.create(
"Infant", Decimal("0.0"),
"Includes no food or beverage service.",
timedelta(hours=1))
SPEAKERS_DINNER = SpeakersDinnerCat SPEAKERS_DINNER = SpeakersDinnerCat
PENGUIN_DINNER = PenguinDinnerCat
SPEAKERS_DINNER_ADULT = SpeakersDinnerCat.create( SPEAKERS_DINNER_ADULT = SpeakersDinnerCat.create(
"Adult", Decimal("100.00"), "Adult", Decimal("100.00"),