Commit Graph

13 Commits

Author SHA1 Message Date
ade5479a74 Add functionality to cancel tickets
Introduces a cancel order confirmation dialog and integrates it into the order flow. Refactors error and success components to support singular/plural seat messaging and retry actions. Updates navigation and button behaviors for better user experience. Fixes minor UI and logic issues in reservation, purchase, and conversion flows.
2025-11-21 15:53:42 +01:00
3bc5b9cd3a Add cancellation and conversion error/success flows
Introduces new components for cancellation and conversion error/success states, updates routing and UI to support resuming and cancelling orders, and refactors seat selection and order handling logic to accommodate these new flows. Also improves seat selection feedback and error handling throughout the checkout process.
2025-11-20 23:19:16 +01:00
53bbef417b Bugfix conflict info 2025-11-19 23:14:52 +01:00
711ad39dd6 Add selection conflict info component and handle seat conflicts
Introduces SelectionConflictInfoComponent to display seat selection conflicts when a seat is removed due to external booking. Removes ShoppingCartComponent and its references. Updates SelectedSeatsService to track conflict state and modifies TheaterOverlayComponent to detect and handle seat conflicts, updating the UI accordingly.
2025-11-19 19:53:13 +01:00
e5707709bf Refactor order process to fix flicker bug 2025-11-15 01:53:13 +01:00
4ec3795697 Styling 2025-11-15 00:41:18 +01:00
50cac8ac24 Add reservation and purchase functionality
Introduces ReservationSuccess, ReservationFailed, PurchaseSuccess, PurchaseFailed, TicketSmall, and TicketList components for handling and displaying reservation and purchase outcomes. Updates order flow logic in OrderComponent to support reservation and purchase states, disables/enables form inputs during submission, and integrates new UI feedback. Also adds angularx-qrcode dependency and updates @infinimotion/model-frontend version.
2025-11-14 17:56:33 +01:00
9d54dcdd1a Merge branch 'order' into 'main' 2025-11-13 22:51:24 +01:00
Marcel-Anker
769fb8b2cd add seatIsSelected to SelectedSeatService, so seats cannot be interacted with while cooking/reservation 2025-11-13 17:47:45 +01:00
Marcel-Anker
a9e1d28f09 now selectedSeatsList will be cleared, left an alternative function. 🦏 2025-11-13 17:35:09 +01:00
Marcel-Anker
43e29e644d selectedSeatsList should now be reset before loading theater. 🦏 2025-11-13 17:23:40 +01:00
9c9e9becfb Refactor SelectedSeatsService to use signals
Replaces internal array state with Angular signals for selected seats. Updates methods to use signal API and adds a new method to filter selected seats by category.
2025-11-13 02:10:30 +01:00
Marcel-Anker
c0f022e65c seats are now selectable. returns list of selected seats. colors might not work anymore. 😢😢 2025-11-12 19:33:28 +01:00