cal.pub0.org/packages/features/bookings
Joe Au-Yeung a5b5382306
fix: seats regression [CAL-2041]
## What does this PR do?

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

- Passes the proper seats data in the new booker component between states and to the backend

Fixes #9779
Fixes #9749
Fixes #7967 
Fixes #9942 

<!-- Please provide a loom video for visual changes to speed up reviews
 Loom Video: https://www.loom.com/
-->

## Type of change

<!-- Please delete bullets that are not relevant. -->

- Bug fix (non-breaking change which fixes an issue)

## How should this be tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration -->

**As the organizer** 
- Create a seated event type
- Book at least 2 seats
- Reschedule the booking
    - All attendees should be moved to the new booking
- Cancel the booking
    - The event should be cancelled for all attendees

**As an attendee**
- [x] Book a seated event
- [x] Reschedule that booking to an empty slot
    - [x] The attendee should be moved to that new slot
- [x] Reschedule onto a booking with occupied seats
    - [x] The attendees should be merged
- [x] On that slot reschedule all attendees to a new slot
    - [x] The former booking should be deleted
- [x] As the attendee cancel the booking
    - [x] Only that attendee should be removed 

## Mandatory Tasks

- [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

## Checklist

<!-- Please remove all the irrelevant bullets to your PR -->
2023-07-11 20:41:08 +05:30
..
Booker fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
components fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
layout feat: booking filters [CAL-1801] (#9692) 2023-07-05 08:54:42 +05:30
lib fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
BookingMultiFiltersStore.ts feat: booking filters [CAL-1801] (#9692) 2023-07-05 08:54:42 +05:30
README.md Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
UnconfirmedBookingBadge.tsx Upgrade to next 13.1 (#6265) 2023-01-06 12:13:56 +00:00
groupBy.ts Feature/booking filters (#6099) 2022-12-22 12:35:01 +00:00
index.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
types.ts feat(UI): improvements booker (#9221) 2023-05-31 12:30:09 +00:00

README.md

Bookings related code will live here