fix(BOOK-469): Removed otherPaymentOptions on non mandatory GLA
Approved-by: Bianca Widstam
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user