diff --git a/fixtures/2019/schedule.yaml b/fixtures/2019/schedule.yaml deleted file mode 100644 index 3f3a05d4..00000000 --- a/fixtures/2019/schedule.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- model: symposion_schedule.schedule - pk: 1 - fields: {section: 1, published: true, hidden: false} - -- model: symposion_schedule.day - pk: 1 - fields: {schedule: 1, date: 2019-01-23} -- model: symposion_schedule.day - pk: 2 - fields: {schedule: 1, date: 2019-01-24} -- model: symposion_schedule.day - pk: 3 - fields: {schedule: 1, date: 2019-01-25} - -- model: symposion_schedule.room - pk: 1 - fields: {schedule: 1, name: C1, order: 0} -- model: symposion_schedule.room - pk: 2 - fields: {schedule: 1, name: C2, order: 5} -- model: symposion_schedule.room - pk: 3 - fields: {schedule: 1, name: C3, order: 1} -- model: symposion_schedule.room - pk: 4 - fields: {schedule: 1, name: A1, order: 2} -- model: symposion_schedule.room - pk: 5 - fields: {schedule: 1, name: A2, order: 3} -- model: symposion_schedule.room - pk: 6 - fields: {schedule: 1, name: A3, order: 4} - -- model: symposion_schedule.slotkind - pk: 1 - fields: {schedule: 1, label: Keynote} -- model: symposion_schedule.slotkind - pk: 2 - fields: {schedule: 1, label: Talk} -- model: symposion_schedule.slotkind - pk: 3 - fields: {schedule: 1, label: Tutorial} -- model: symposion_schedule.slotkind - pk: 4 - fields: {schedule: 1, label: Break} -- model: symposion_schedule.slotkind - pk: 5 - fields: {schedule: 1, label: Opening} \ No newline at end of file diff --git a/fixtures/2019_registrasion.json b/fixtures/2019_registrasion.json new file mode 100644 index 00000000..ddd86a0e --- /dev/null +++ b/fixtures/2019_registrasion.json @@ -0,0 +1,2189 @@ +[ +{ + "model": "registrasion.category", + "pk": 1, + "fields": { + "name": "Ticket", + "description": "Each type of ticket has different included products. For details of what products are included, see our registration page", + "limit_per_user": 1, + "required": true, + "order": 1, + "render_type": 1 + } +}, +{ + "model": "registrasion.category", + "pk": 2, + "fields": { + "name": "Terms, Conditions, and Code of Conduct Acceptance", + "description": "I agree to the terms and conditions of attendance, and I have read, understood, and agree to act according to the standards set forth in our Code of Conduct.", + "limit_per_user": null, + "required": true, + "order": 10, + "render_type": 4 + } +}, +{ + "model": "registrasion.category", + "pk": 3, + "fields": { + "name": "Penguin Dinner Ticket", + "description": "Tickets to our conference dinner on the evening of Wednesday 24 January. All attendees may purchase seats at the dinner, even if a dinner ticket is not included in your conference ticket price.", + "limit_per_user": 10, + "required": false, + "order": 20, + "render_type": 2 + } +}, +{ + "model": "registrasion.category", + "pk": 4, + "fields": { + "name": "Speakers' Dinner Ticket", + "description": "Tickets to our exclusive Speakers' Dinner on the evening of Tuesday 23 January. You may purchase up to 5 tickets in total, for significant others and family members.", + "limit_per_user": 5, + "required": false, + "order": 30, + "render_type": 2 + } +}, +{ + "model": "registrasion.category", + "pk": 5, + "fields": { + "name": "Professional Delegates Networking Session Ticket", + "description": "Tickets to our Professional Delegates Networking session.This event will be held on the evening of Thursday 25th January, and is restricted to Professional Ticket holders, speakers, miniconf organisers, and invited guests.", + "limit_per_user": 1, + "required": false, + "order": 40, + "render_type": 1 + } +}, +{ + "model": "registrasion.category", + "pk": 6, + "fields": { + "name": "Shirt", + "description": "Commemorative conference polo shirts, featuring the linux.conf.au 2018 artwork.", + "limit_per_user": null, + "required": false, + "order": 50, + "render_type": 3 + } +}, +{ + "model": "registrasion.product", + "pk": 1, + "fields": { + "name": "Fairy Penguin Sponsor", + "description": "", + "category": 1, + "price": "1999.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 1 + } +}, +{ + "model": "registrasion.product", + "pk": 2, + "fields": { + "name": "Professional", + "description": "", + "category": 1, + "price": "1099.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 3, + "fields": { + "name": "Hobbyist", + "description": "", + "category": 1, + "price": "549.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 20 + } +}, +{ + "model": "registrasion.product", + "pk": 4, + "fields": { + "name": "Student", + "description": "", + "category": 1, + "price": "199.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 30 + } +}, +{ + "model": "registrasion.product", + "pk": 5, + "fields": { + "name": "Monday and Tuesday Only", + "description": "", + "category": 1, + "price": "180.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 40 + } +}, +{ + "model": "registrasion.product", + "pk": 6, + "fields": { + "name": "Monday Only", + "description": "", + "category": 1, + "price": "90.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 42 + } +}, +{ + "model": "registrasion.product", + "pk": 7, + "fields": { + "name": "Tuesday Only", + "description": "", + "category": 1, + "price": "90.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 44 + } +}, +{ + "model": "registrasion.product", + "pk": 8, + "fields": { + "name": "Speaker", + "description": null, + "category": 1, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 50 + } +}, +{ + "model": "registrasion.product", + "pk": 9, + "fields": { + "name": "Media", + "description": null, + "category": 1, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 60 + } +}, +{ + "model": "registrasion.product", + "pk": 10, + "fields": { + "name": "Sponsor", + "description": null, + "category": 1, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 70 + } +}, +{ + "model": "registrasion.product", + "pk": 11, + "fields": { + "name": "Conference Organiser", + "description": null, + "category": 1, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 80 + } +}, +{ + "model": "registrasion.product", + "pk": 12, + "fields": { + "name": "Conference Volunteer", + "description": null, + "category": 1, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "1 00:00:00", + "order": 90 + } +}, +{ + "model": "registrasion.product", + "pk": 13, + "fields": { + "name": "I Accept", + "description": "", + "category": 2, + "price": "0.00", + "limit_per_user": 1, + "reservation_duration": "1 00:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 14, + "fields": { + "name": "Adult", + "description": "Includes an adult's meal and full beverage service.", + "category": 3, + "price": "95.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 15, + "fields": { + "name": "Child", + "description": "Children 12 and under. Includes a child's meal and soft drink service.", + "category": 3, + "price": "55.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 20 + } +}, +{ + "model": "registrasion.product", + "pk": 16, + "fields": { + "name": "Infant", + "description": "Includes no food or beverage service.", + "category": 3, + "price": "0.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 30 + } +}, +{ + "model": "registrasion.product", + "pk": 17, + "fields": { + "name": "Adult", + "description": "Includes an adult's meal and full beverage service.", + "category": 4, + "price": "130.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 20, + "fields": { + "name": "Conference Attendee", + "description": null, + "category": 5, + "price": "0.00", + "limit_per_user": 1, + "reservation_duration": "01:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 22, + "fields": { + "name": "Men's/Straight Cut S", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 10 + } +}, +{ + "model": "registrasion.product", + "pk": 23, + "fields": { + "name": "Men's/Straight Cut M", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 20 + } +}, +{ + "model": "registrasion.product", + "pk": 24, + "fields": { + "name": "Men's/Straight Cut L", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 30 + } +}, +{ + "model": "registrasion.product", + "pk": 25, + "fields": { + "name": "Men's/Straight Cut XL", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 40 + } +}, +{ + "model": "registrasion.product", + "pk": 26, + "fields": { + "name": "Men's/Straight Cut 2XL", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 50 + } +}, +{ + "model": "registrasion.product", + "pk": 27, + "fields": { + "name": "Men's/Straight Cut 3XL", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 60 + } +}, +{ + "model": "registrasion.product", + "pk": 28, + "fields": { + "name": "Men's/Straight Cut 4XL", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 70 + } +}, +{ + "model": "registrasion.product", + "pk": 29, + "fields": { + "name": "Women's Classic Fit 8", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 80 + } +}, +{ + "model": "registrasion.product", + "pk": 30, + "fields": { + "name": "Women's Classic Fit 10", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 90 + } +}, +{ + "model": "registrasion.product", + "pk": 31, + "fields": { + "name": "Women's Classic Fit 12", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 100 + } +}, +{ + "model": "registrasion.product", + "pk": 32, + "fields": { + "name": "Women's Classic Fit 14", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 110 + } +}, +{ + "model": "registrasion.product", + "pk": 33, + "fields": { + "name": "Women's Classic Fit 16", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 120 + } +}, +{ + "model": "registrasion.product", + "pk": 34, + "fields": { + "name": "Women's Classic Fit 18", + "description": null, + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 130 + } +}, +{ + "model": "registrasion.product", + "pk": 35, + "fields": { + "name": "Men's/Straight Cut 5XL", + "description": "", + "category": 6, + "price": "25.00", + "limit_per_user": null, + "reservation_duration": "01:00:00", + "order": 75 + } +}, +{ + "model": "registrasion.discountbase", + "pk": 1, + "fields": { + "description": "Early Bird Discount - Hobbyist" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 2, + "fields": { + "description": "Early Bird Discount - Professional" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 3, + "fields": { + "description": "Speaker Ticket Discount" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 4, + "fields": { + "description": "Complimentary for primary proposer" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 5, + "fields": { + "description": "Complimentary for ticket holder (Professional-level)" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 6, + "fields": { + "description": "Complimentary for ticket holder (Hobbyist-level)" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 7, + "fields": { + "description": "Complimentary for ticket holder (Student-level)" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 8, + "fields": { + "description": "Complimentary for ticket holder staff)" + } +}, +{ + "model": "registrasion.discountbase", + "pk": 9, + "fields": { + "description": "Shirts complimentary for staff and volunteers" + } +}, +{ + "model": "registrasion.discountforproduct", + "pk": 1, + "fields": { + "discount": 1, + "product": 3, + "percentage": null, + "price": "150.00", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforproduct", + "pk": 2, + "fields": { + "discount": 2, + "product": 1, + "percentage": null, + "price": "200.00", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforproduct", + "pk": 3, + "fields": { + "discount": 2, + "product": 2, + "percentage": null, + "price": "200.00", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforproduct", + "pk": 4, + "fields": { + "discount": 3, + "product": 1, + "percentage": null, + "price": "200.00", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforproduct", + "pk": 5, + "fields": { + "discount": 3, + "product": 2, + "percentage": null, + "price": "200.00", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 1, + "fields": { + "discount": 4, + "category": 4, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 2, + "fields": { + "discount": 5, + "category": 3, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 3, + "fields": { + "discount": 5, + "category": 6, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 4, + "fields": { + "discount": 6, + "category": 6, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 5, + "fields": { + "discount": 7, + "category": 6, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 6, + "fields": { + "discount": 8, + "category": 3, + "percentage": "100.0", + "quantity": 1 + } +}, +{ + "model": "registrasion.discountforcategory", + "pk": 7, + "fields": { + "discount": 9, + "category": 6, + "percentage": "100.0", + "quantity": 5 + } +}, +{ + "model": "registrasion.timeorstocklimitdiscount", + "pk": 1, + "fields": { + "start_time": null, + "end_time": "2018-10-31T13:00:00Z", + "limit": 80 + } +}, +{ + "model": "registrasion.timeorstocklimitdiscount", + "pk": 2, + "fields": { + "start_time": null, + "end_time": "2018-10-31T13:00:00Z", + "limit": 160 + } +}, +{ + "model": "registrasion.includedproductdiscount", + "pk": 5, + "fields": { + "enabling_products": [ + 1, + 2, + 8, + 9, + 10 + ] + } +}, +{ + "model": "registrasion.includedproductdiscount", + "pk": 6, + "fields": { + "enabling_products": [ + 3 + ] + } +}, +{ + "model": "registrasion.includedproductdiscount", + "pk": 7, + "fields": { + "enabling_products": [ + 4 + ] + } +}, +{ + "model": "registrasion.includedproductdiscount", + "pk": 8, + "fields": { + "enabling_products": [ + 11 + ] + } +}, +{ + "model": "registrasion.speakerdiscount", + "pk": 3, + "fields": { + "is_presenter": true, + "is_copresenter": true, + "proposal_kind": [ + 1, + 2, + 3 + ] + } +}, +{ + "model": "registrasion.speakerdiscount", + "pk": 4, + "fields": { + "is_presenter": true, + "is_copresenter": false, + "proposal_kind": [ + 1, + 2, + 3 + ] + } +}, +{ + "model": "registrasion.groupmemberdiscount", + "pk": 9, + "fields": { + "group": [ + 1, + 2 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 1, + "fields": { + "description": "Can see hidden products", + "condition": 2, + "products": [ + 5, + 6, + 7, + 9, + 10 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 2, + "fields": { + "description": "Can pre-purchase tickets", + "condition": 2, + "products": [ + 1, + 2, + 3, + 4 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 3, + "fields": { + "description": "Public ticket cap", + "condition": 1, + "products": [ + 1, + 2, + 3, + 4 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 4, + "fields": { + "description": "Student ticket cap", + "condition": 1, + "products": [ + 4 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 5, + "fields": { + "description": "Reserved for sponsors", + "condition": 1, + "products": [ + 10 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 6, + "fields": { + "description": "Reserrved for volunteers and organizers", + "condition": 1, + "products": [ + 11, + 12 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 7, + "fields": { + "description": "Reserved for media", + "condition": 1, + "products": [ + 9 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 8, + "fields": { + "description": "Reserved for speakers (and miniconf organisers)", + "condition": 1, + "products": [ + 8 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 9, + "fields": { + "description": "Penguin dinner ticket cap", + "condition": 1, + "products": [], + "categories": [ + 3 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 10, + "fields": { + "description": "Speakers dinner ticket cap", + "condition": 1, + "products": [], + "categories": [ + 4 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 11, + "fields": { + "description": "PDNS ticket cap", + "condition": 1, + "products": [], + "categories": [ + 5 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 12, + "fields": { + "description": "Volunteer tickets", + "condition": 2, + "products": [ + 12 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 13, + "fields": { + "description": "Team tickets", + "condition": 2, + "products": [ + 11 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 14, + "fields": { + "description": "Speaker tickets", + "condition": 2, + "products": [ + 8 + ], + "categories": [] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 15, + "fields": { + "description": "Speaker dinner tickets", + "condition": 2, + "products": [], + "categories": [ + 4 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 16, + "fields": { + "description": "PDNS available by ticket", + "condition": 2, + "products": [], + "categories": [ + 5 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 17, + "fields": { + "description": "PDNS available to speakers", + "condition": 2, + "products": [], + "categories": [ + 5 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 18, + "fields": { + "description": "PDNS available to staff", + "condition": 2, + "products": [], + "categories": [ + 5 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 19, + "fields": { + "description": "GottaGettaTicketFirst", + "condition": 1, + "products": [], + "categories": [ + 3, + 5, + 6 + ] + } +}, +{ + "model": "registrasion.flagbase", + "pk": 20, + "fields": { + "description": "Must Accept Terms", + "condition": 1, + "products": [], + "categories": [ + 1, + 3, + 4, + 5, + 6 + ] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 3, + "fields": { + "start_time": "2018-08-31T23:50:57Z", + "end_time": null, + "limit": 540, + "products": [ + 1, + 2, + 3, + 4 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 4, + "fields": { + "start_time": null, + "end_time": null, + "limit": 80, + "products": [ + 4 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 5, + "fields": { + "start_time": null, + "end_time": null, + "limit": 70, + "products": [ + 10 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 6, + "fields": { + "start_time": "2018-09-28T19:30:41Z", + "end_time": null, + "limit": 60, + "products": [ + 11, + 12 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 7, + "fields": { + "start_time": null, + "end_time": null, + "limit": 10, + "products": [ + 9 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 8, + "fields": { + "start_time": null, + "end_time": null, + "limit": 110, + "products": [ + 8 + ], + "categories": [] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 9, + "fields": { + "start_time": null, + "end_time": null, + "limit": 600, + "products": [], + "categories": [ + 3 + ] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 10, + "fields": { + "start_time": null, + "end_time": null, + "limit": 150, + "products": [], + "categories": [ + 4 + ] + } +}, +{ + "model": "registrasion.timeorstocklimitflag", + "pk": 11, + "fields": { + "start_time": null, + "end_time": null, + "limit": 400, + "products": [], + "categories": [ + 5 + ] + } +}, +{ + "model": "registrasion.productflag", + "pk": 16, + "fields": { + "products": [], + "categories": [ + 5 + ], + "enabling_products": [ + 1, + 2, + 9, + 10 + ] + } +}, +{ + "model": "registrasion.categoryflag", + "pk": 19, + "fields": { + "enabling_category": 1, + "products": [], + "categories": [ + 3, + 5, + 6 + ] + } +}, +{ + "model": "registrasion.categoryflag", + "pk": 20, + "fields": { + "enabling_category": 2, + "products": [], + "categories": [ + 1, + 3, + 4, + 5, + 6 + ] + } +}, +{ + "model": "registrasion.speakerflag", + "pk": 14, + "fields": { + "is_presenter": true, + "is_copresenter": false, + "products": [ + 8 + ], + "categories": [], + "proposal_kind": [ + 1, + 2, + 3 + ] + } +}, +{ + "model": "registrasion.speakerflag", + "pk": 15, + "fields": { + "is_presenter": true, + "is_copresenter": true, + "products": [], + "categories": [ + 4 + ], + "proposal_kind": [ + 1, + 2, + 3 + ] + } +}, +{ + "model": "registrasion.speakerflag", + "pk": 17, + "fields": { + "is_presenter": true, + "is_copresenter": true, + "products": [], + "categories": [ + 5 + ], + "proposal_kind": [ + 1, + 2, + 3 + ] + } +}, +{ + "model": "registrasion.groupmemberflag", + "pk": 1, + "fields": { + "products": [ + 5, + 6, + 7, + 9, + 10 + ], + "categories": [], + "group": [ + 3 + ] + } +}, +{ + "model": "registrasion.groupmemberflag", + "pk": 2, + "fields": { + "products": [ + 1, + 2, + 3, + 4 + ], + "categories": [], + "group": [ + 4 + ] + } +}, +{ + "model": "registrasion.groupmemberflag", + "pk": 12, + "fields": { + "products": [ + 12 + ], + "categories": [], + "group": [ + 2 + ] + } +}, +{ + "model": "registrasion.groupmemberflag", + "pk": 13, + "fields": { + "products": [ + 11 + ], + "categories": [], + "group": [ + 1 + ] + } +}, +{ + "model": "registrasion.groupmemberflag", + "pk": 18, + "fields": { + "products": [], + "categories": [ + 5 + ], + "group": [ + 1 + ] + } +}, +{ + "model": "registrasion.cart", + "pk": 2, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T01:50:55.910Z", + "reservation_duration": "1 00:00:00", + "revision": 10, + "status": 3, + "vouchers": [] + } +}, +{ + "model": "registrasion.cart", + "pk": 3, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T02:41:48.517Z", + "reservation_duration": "1 00:00:00", + "revision": 6, + "status": 3, + "vouchers": [] + } +}, +{ + "model": "registrasion.cart", + "pk": 4, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T03:36:22.660Z", + "reservation_duration": "1 00:00:00", + "revision": 4, + "status": 3, + "vouchers": [] + } +}, +{ + "model": "registrasion.cart", + "pk": 5, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T03:47:01.386Z", + "reservation_duration": "01:00:00", + "revision": 4, + "status": 3, + "vouchers": [] + } +}, +{ + "model": "registrasion.cart", + "pk": 6, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T04:05:00.595Z", + "reservation_duration": "01:00:00", + "revision": 2, + "status": 3, + "vouchers": [] + } +}, +{ + "model": "registrasion.cart", + "pk": 7, + "fields": { + "user": 1, + "time_last_updated": "2018-09-29T04:26:10.518Z", + "reservation_duration": "1 00:00:00", + "revision": 2, + "status": 1, + "vouchers": [] + } +}, +{ + "model": "registrasion.productitem", + "pk": 1, + "fields": { + "cart": 2, + "product": 13, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 2, + "fields": { + "cart": 2, + "product": 1, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 3, + "fields": { + "cart": 2, + "product": 14, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 4, + "fields": { + "cart": 2, + "product": 20, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 8, + "fields": { + "cart": 2, + "product": 22, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 9, + "fields": { + "cart": 3, + "product": 1, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 10, + "fields": { + "cart": 3, + "product": 13, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 11, + "fields": { + "cart": 3, + "product": 14, + "quantity": 5 + } +}, +{ + "model": "registrasion.productitem", + "pk": 12, + "fields": { + "cart": 3, + "product": 20, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 13, + "fields": { + "cart": 3, + "product": 22, + "quantity": 52 + } +}, +{ + "model": "registrasion.productitem", + "pk": 14, + "fields": { + "cart": 4, + "product": 1, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 15, + "fields": { + "cart": 4, + "product": 13, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 16, + "fields": { + "cart": 5, + "product": 14, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 17, + "fields": { + "cart": 5, + "product": 20, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 18, + "fields": { + "cart": 5, + "product": 23, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 19, + "fields": { + "cart": 6, + "product": 14, + "quantity": 1 + } +}, +{ + "model": "registrasion.productitem", + "pk": 20, + "fields": { + "cart": 7, + "product": 13, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 12, + "fields": { + "cart": 2, + "product": 1, + "discount": 2, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 13, + "fields": { + "cart": 2, + "product": 14, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 14, + "fields": { + "cart": 2, + "product": 22, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 21, + "fields": { + "cart": 3, + "product": 1, + "discount": 2, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 22, + "fields": { + "cart": 3, + "product": 14, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 23, + "fields": { + "cart": 3, + "product": 22, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 26, + "fields": { + "cart": 4, + "product": 1, + "discount": 2, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 29, + "fields": { + "cart": 5, + "product": 14, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.discountitem", + "pk": 30, + "fields": { + "cart": 5, + "product": 23, + "discount": 5, + "quantity": 1 + } +}, +{ + "model": "registrasion.invoice", + "pk": 1, + "fields": { + "user": 1, + "cart": 2, + "cart_revision": 10, + "status": 3, + "recipient": "asdasd\n\u00c5land Islands", + "issue_time": "2018-09-29T01:52:02.751Z", + "due_time": "2018-09-30T01:50:55.910Z", + "value": "1799.00" + } +}, +{ + "model": "registrasion.invoice", + "pk": 2, + "fields": { + "user": 1, + "cart": 3, + "cart_revision": 6, + "status": 3, + "recipient": "asdasd\n\u00c5land Islands", + "issue_time": "2018-09-29T02:41:53.211Z", + "due_time": "2018-09-30T02:41:48.517Z", + "value": "3454.00" + } +}, +{ + "model": "registrasion.invoice", + "pk": 3, + "fields": { + "user": 1, + "cart": 4, + "cart_revision": 4, + "status": 3, + "recipient": "asdasd\n\u00c5land Islands", + "issue_time": "2018-09-29T03:46:06.794Z", + "due_time": "2018-09-30T03:36:22.660Z", + "value": "1799.00" + } +}, +{ + "model": "registrasion.invoice", + "pk": 4, + "fields": { + "user": 1, + "cart": 5, + "cart_revision": 4, + "status": 4, + "recipient": "asdasd\n\u00c5land Islands", + "issue_time": "2018-09-29T03:47:10.317Z", + "due_time": "2018-09-29T04:47:01.386Z", + "value": "0.00" + } +}, +{ + "model": "registrasion.invoice", + "pk": 5, + "fields": { + "user": 1, + "cart": 6, + "cart_revision": 2, + "status": 3, + "recipient": "asdasd\n\u00c5land Islands", + "issue_time": "2018-09-29T04:25:22.502Z", + "due_time": "2018-09-29T05:05:00.595Z", + "value": "95.00" + } +}, +{ + "model": "registrasion.lineitem", + "pk": 1, + "fields": { + "invoice": 1, + "description": "Ticket - Fairy Penguin Sponsor", + "quantity": 1, + "price": "1999.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 2, + "fields": { + "invoice": 1, + "description": "Terms, Conditions, and Code of Conduct Acceptance - I Accept", + "quantity": 1, + "price": "0.00", + "product": 13 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 3, + "fields": { + "invoice": 1, + "description": "Penguin Dinner Ticket - Adult", + "quantity": 1, + "price": "95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 4, + "fields": { + "invoice": 1, + "description": "Professional Delegates Networking Session Ticket - Conference Attendee", + "quantity": 1, + "price": "0.00", + "product": 20 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 5, + "fields": { + "invoice": 1, + "description": "Shirt - Men's/Straight Cut S", + "quantity": 1, + "price": "25.00", + "product": 22 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 6, + "fields": { + "invoice": 1, + "description": "Early Bird Discount - Professional (Ticket - Fairy Penguin Sponsor)", + "quantity": 1, + "price": "-200.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 7, + "fields": { + "invoice": 1, + "description": "Complimentary for ticket holder (Professional-level) (Penguin Dinner Ticket - Adult)", + "quantity": 1, + "price": "-95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 8, + "fields": { + "invoice": 1, + "description": "Complimentary for ticket holder (Professional-level) (Shirt - Men's/Straight Cut S)", + "quantity": 1, + "price": "-25.00", + "product": 22 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 9, + "fields": { + "invoice": 2, + "description": "Ticket - Fairy Penguin Sponsor", + "quantity": 1, + "price": "1999.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 10, + "fields": { + "invoice": 2, + "description": "Terms, Conditions, and Code of Conduct Acceptance - I Accept", + "quantity": 1, + "price": "0.00", + "product": 13 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 11, + "fields": { + "invoice": 2, + "description": "Penguin Dinner Ticket - Adult", + "quantity": 5, + "price": "95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 12, + "fields": { + "invoice": 2, + "description": "Professional Delegates Networking Session Ticket - Conference Attendee", + "quantity": 1, + "price": "0.00", + "product": 20 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 13, + "fields": { + "invoice": 2, + "description": "Shirt - Men's/Straight Cut S", + "quantity": 52, + "price": "25.00", + "product": 22 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 14, + "fields": { + "invoice": 2, + "description": "Early Bird Discount - Professional (Ticket - Fairy Penguin Sponsor)", + "quantity": 1, + "price": "-200.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 15, + "fields": { + "invoice": 2, + "description": "Complimentary for ticket holder (Professional-level) (Penguin Dinner Ticket - Adult)", + "quantity": 1, + "price": "-95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 16, + "fields": { + "invoice": 2, + "description": "Complimentary for ticket holder (Professional-level) (Shirt - Men's/Straight Cut S)", + "quantity": 1, + "price": "-25.00", + "product": 22 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 17, + "fields": { + "invoice": 3, + "description": "Ticket - Fairy Penguin Sponsor", + "quantity": 1, + "price": "1999.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 18, + "fields": { + "invoice": 3, + "description": "Terms, Conditions, and Code of Conduct Acceptance - I Accept", + "quantity": 1, + "price": "0.00", + "product": 13 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 19, + "fields": { + "invoice": 3, + "description": "Early Bird Discount - Professional (Ticket - Fairy Penguin Sponsor)", + "quantity": 1, + "price": "-200.00", + "product": 1 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 20, + "fields": { + "invoice": 4, + "description": "Penguin Dinner Ticket - Adult", + "quantity": 1, + "price": "95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 21, + "fields": { + "invoice": 4, + "description": "Professional Delegates Networking Session Ticket - Conference Attendee", + "quantity": 1, + "price": "0.00", + "product": 20 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 22, + "fields": { + "invoice": 4, + "description": "Shirt - Men's/Straight Cut M", + "quantity": 1, + "price": "25.00", + "product": 23 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 23, + "fields": { + "invoice": 4, + "description": "Complimentary for ticket holder (Professional-level) (Penguin Dinner Ticket - Adult)", + "quantity": 1, + "price": "-95.00", + "product": 14 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 24, + "fields": { + "invoice": 4, + "description": "Complimentary for ticket holder (Professional-level) (Shirt - Men's/Straight Cut M)", + "quantity": 1, + "price": "-25.00", + "product": 23 + } +}, +{ + "model": "registrasion.lineitem", + "pk": 25, + "fields": { + "invoice": 5, + "description": "Penguin Dinner Ticket - Adult", + "quantity": 1, + "price": "95.00", + "product": 14 + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 1, + "fields": { + "invoice": 1, + "time": "2018-09-29T02:30:19.773Z", + "reference": "Paid with Stripe reference: ch_1DFYDlKfy2vJUfZyQY38DOcS", + "amount": "1799.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 2, + "fields": { + "invoice": 1, + "time": "2018-09-29T02:30:30.621Z", + "reference": "Generated credit note 2", + "amount": "-1799.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 3, + "fields": { + "invoice": 2, + "time": "2018-09-29T02:41:54.023Z", + "reference": "Applied credit note #2", + "amount": "1799.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 4, + "fields": { + "invoice": 2, + "time": "2018-09-29T03:13:18.403Z", + "reference": "TS-123", + "amount": "10.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 5, + "fields": { + "invoice": 2, + "time": "2018-09-29T03:23:37.215Z", + "reference": "Paid with Stripe reference: ch_1DFZ3KKfy2vJUfZypTUGgNr2", + "amount": "1645.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 6, + "fields": { + "invoice": 2, + "time": "2018-09-29T03:28:35.474Z", + "reference": "TS-123", + "amount": "-100.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 7, + "fields": { + "invoice": 2, + "time": "2018-09-29T03:28:35.544Z", + "reference": "Generated credit note 7", + "amount": "-3354.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 8, + "fields": { + "invoice": 3, + "time": "2018-09-29T03:46:07.578Z", + "reference": "Applied credit note #7", + "amount": "3354.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 9, + "fields": { + "invoice": 3, + "time": "2018-09-29T03:46:07.627Z", + "reference": "Generated credit note 9", + "amount": "-1555.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 10, + "fields": { + "invoice": 5, + "time": "2018-09-29T04:25:23.304Z", + "reference": "Applied credit note #9", + "amount": "1555.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 11, + "fields": { + "invoice": 5, + "time": "2018-09-29T04:25:23.371Z", + "reference": "Generated credit note 11", + "amount": "-1460.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 12, + "fields": { + "invoice": 5, + "time": "2018-09-29T04:25:27.003Z", + "reference": "Generated credit note 12", + "amount": "-95.00" + } +}, +{ + "model": "registrasion.paymentbase", + "pk": 13, + "fields": { + "invoice": 3, + "time": "2018-09-29T04:25:42.978Z", + "reference": "Generated credit note 13", + "amount": "-1799.00" + } +}, +{ + "model": "registrasion.manualpayment", + "pk": 4, + "fields": { + "entered_by": 1 + } +}, +{ + "model": "registrasion.manualpayment", + "pk": 6, + "fields": { + "entered_by": 1 + } +}, +{ + "model": "registrasion.creditnote", + "pk": 2, + "fields": {} +}, +{ + "model": "registrasion.creditnote", + "pk": 7, + "fields": {} +}, +{ + "model": "registrasion.creditnote", + "pk": 9, + "fields": {} +}, +{ + "model": "registrasion.creditnote", + "pk": 11, + "fields": {} +}, +{ + "model": "registrasion.creditnote", + "pk": 12, + "fields": {} +}, +{ + "model": "registrasion.creditnote", + "pk": 13, + "fields": {} +}, +{ + "model": "registrasion.creditnoteapplication", + "pk": 3, + "fields": { + "parent": 2 + } +}, +{ + "model": "registrasion.creditnoteapplication", + "pk": 8, + "fields": { + "parent": 7 + } +}, +{ + "model": "registrasion.creditnoteapplication", + "pk": 10, + "fields": { + "parent": 9 + } +}, +{ + "model": "registrasion.attendee", + "pk": 1, + "fields": { + "user": 1, + "access_code": "NC4DBG", + "completed_registration": true, + "guided_categories_complete": [] + } +}, +{ + "model": "registrasion.attendeeprofilebase", + "pk": 1, + "fields": { + "attendee": 1 + } +} +] diff --git a/fixtures/2019_schedule.json b/fixtures/2019_schedule.json new file mode 100644 index 00000000..dde04bc0 --- /dev/null +++ b/fixtures/2019_schedule.json @@ -0,0 +1,129 @@ +[ +{ + "model": "symposion_schedule.schedule", + "pk": 1, + "fields": { + "section": 1, + "published": true, + "hidden": false + } +}, +{ + "model": "symposion_schedule.day", + "pk": 33, + "fields": { + "schedule": 1, + "date": "2019-01-24" + } +}, +{ + "model": "symposion_schedule.day", + "pk": 34, + "fields": { + "schedule": 1, + "date": "2019-01-25" + } +}, +{ + "model": "symposion_schedule.day", + "pk": 35, + "fields": { + "schedule": 1, + "date": "2019-01-23" + } +}, +{ + "model": "symposion_schedule.room", + "pk": 1, + "fields": { + "schedule": 1, + "name": "C1", + "order": 0 + } +}, +{ + "model": "symposion_schedule.room", + "pk": 2, + "fields": { + "schedule": 1, + "name": "C2", + "order": 2 + } +}, +{ + "model": "symposion_schedule.room", + "pk": 3, + "fields": { + "schedule": 1, + "name": "C3", + "order": 3 + } +}, +{ + "model": "symposion_schedule.room", + "pk": 4, + "fields": { + "schedule": 1, + "name": "A1", + "order": 4 + } +}, +{ + "model": "symposion_schedule.room", + "pk": 5, + "fields": { + "schedule": 1, + "name": "A2", + "order": 5 + } +}, +{ + "model": "symposion_schedule.room", + "pk": 6, + "fields": { + "schedule": 1, + "name": "A3", + "order": 6 + } +}, +{ + "model": "symposion_schedule.slotkind", + "pk": 1, + "fields": { + "schedule": 1, + "label": "Keynote" + } +}, +{ + "model": "symposion_schedule.slotkind", + "pk": 2, + "fields": { + "schedule": 1, + "label": "Talk" + } +}, +{ + "model": "symposion_schedule.slotkind", + "pk": 3, + "fields": { + "schedule": 1, + "label": "Tutorial" + } +}, +{ + "model": "symposion_schedule.slotkind", + "pk": 4, + "fields": { + "schedule": 1, + "label": "Break" + } +}, +{ + "model": "symposion_schedule.slotkind", + "pk": 8, + "fields": { + "schedule": 1, + "label": "Opening" + } +} +] diff --git a/pinaxcon/templates/registrasion/review.html b/pinaxcon/templates/registrasion/review.html index 37b05b93..a8ced980 100644 --- a/pinaxcon/templates/registrasion/review.html +++ b/pinaxcon/templates/registrasion/review.html @@ -71,18 +71,18 @@

You can either check out an invoice and pay for your selections, or return to the dashboard.

- + Check out and pay - Return to dashboard + Return to dashboard {% else %}

You have no items that need to be paid.

- Return to dashboard + Return to dashboard
{% endif %} diff --git a/requirements.txt b/requirements.txt index 43abec55..c9ec5a51 100644 --- a/requirements.txt +++ b/requirements.txt @@ -52,4 +52,3 @@ django-sass-processor==0.7 django-compressor==2.2 django-crispy-forms -pyyaml \ No newline at end of file