Merged in fix/STAY-2-GLA-cancelled (pull request #3109)
Fix/STAY-2 GLA cancelled * fix: show toast on cancelling GLA flow * fix: show the ancillary GLA errors as inline alerts Approved-by: Bianca Widstam Approved-by: Erik Tiekstra
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { AlertTypeEnum } from "@scandic-hotels/common/constants/alert"
|
||||
import type {
|
||||
ancillaryPackagesSchema,
|
||||
packagesSchema,
|
||||
@@ -24,6 +25,12 @@ export interface AddedAncillariesProps {
|
||||
booking: Room
|
||||
}
|
||||
|
||||
export interface AncillaryItem {
|
||||
code: string
|
||||
quantity: number
|
||||
comment: string | undefined
|
||||
}
|
||||
|
||||
export interface AddAncillaryFlowModalProps {
|
||||
booking: Room
|
||||
packages: Packages | null
|
||||
@@ -34,15 +41,20 @@ export interface AddAncillaryFlowModalProps {
|
||||
export interface SelectQuantityStepProps {
|
||||
user: User | null
|
||||
}
|
||||
|
||||
export interface AncillaryErrorMessage {
|
||||
type: AlertTypeEnum
|
||||
message: string
|
||||
}
|
||||
export interface ConfirmationStepProps {
|
||||
savedCreditCards: CreditCard[] | null
|
||||
user: User | null
|
||||
error: AncillaryErrorMessage | null
|
||||
}
|
||||
|
||||
export interface StepsProps {
|
||||
user: User | null
|
||||
savedCreditCards: CreditCard[] | null
|
||||
error: AncillaryErrorMessage | null
|
||||
}
|
||||
|
||||
export interface ActionButtonsProps {
|
||||
|
||||
Reference in New Issue
Block a user