Add seat selection and no seats components
Introduces SeatSelectionComponent and NoSeatsInHallComponent for improved seat category display and handling cases with no available seats. Updates order flow to show seat categories, loading spinner, and total price. Refactors TheaterOverlayComponent to provide seat categories, and updates styles and dependencies.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Vorstellung } from '@infinimotion/model-frontend';
|
||||
import { LoadingService } from './../loading.service';
|
||||
import { Sitzkategorie, Vorstellung } from '@infinimotion/model-frontend';
|
||||
import { Component, inject, input } from '@angular/core';
|
||||
import { FormBuilder, Validators } from '@angular/forms';
|
||||
|
||||
@@ -10,8 +11,10 @@ import { FormBuilder, Validators } from '@angular/forms';
|
||||
})
|
||||
export class OrderComponent {
|
||||
performance = input<Vorstellung>();
|
||||
seatCategories = input.required<Sitzkategorie[]>();
|
||||
|
||||
private _formBuilder = inject(FormBuilder);
|
||||
loadingService = inject(LoadingService);
|
||||
|
||||
firstFormGroup = this._formBuilder.group({
|
||||
firstCtrl: ['', Validators.required],
|
||||
|
||||
Reference in New Issue
Block a user