fix(BOOK-469): Removed otherPaymentOptions on non mandatory GLA

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2025-12-03 07:42:31 +00:00
parent b563a83f10
commit c976079df1
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import type { CreditCard } from "@scandic-hotels/trpc/types/user"
interface GuaranteeProps { interface GuaranteeProps {
mustBeGuaranteed: boolean mustBeGuaranteed: boolean
savedCreditCards: CreditCard[] | null savedCreditCards: CreditCard[] | null
otherPaymentOptions: PaymentMethodEnum[] otherPaymentOptions?: PaymentMethodEnum[]
} }
export function Guarantee({ export function Guarantee({
@@ -92,7 +92,7 @@ export function Guarantee({
<ConfirmBookingPaymentOptions <ConfirmBookingPaymentOptions
savedCreditCards={savedCreditCards} savedCreditCards={savedCreditCards}
hasMixedRates={false} hasMixedRates={false}
otherPaymentOptions={otherPaymentOptions} otherPaymentOptions={otherPaymentOptions ?? []}
/> />
</> </>
) : null} ) : null}

View File

@@ -57,7 +57,6 @@ export default function ConfirmBooking({
<Guarantee <Guarantee
mustBeGuaranteed={bookingMustBeGuaranteed} mustBeGuaranteed={bookingMustBeGuaranteed}
savedCreditCards={savedCreditCards} savedCreditCards={savedCreditCards}
otherPaymentOptions={otherPaymentOptions}
/> />
<Divider color="Border/Divider/Subtle" /> <Divider color="Border/Divider/Subtle" />
<TermsAndConditions isFlexBookingTerms /> <TermsAndConditions isFlexBookingTerms />