Merged in fix/SW-1879-aa-bed-breakfastpayment- (pull request #1888)

fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking

* fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking


Approved-by: Michael Zetterberg
This commit is contained in:
Hrishikesh Vaipurkar
2025-04-29 07:07:40 +00:00
parent ffafdd24d1
commit e34d75969a
4 changed files with 2 additions and 40 deletions

View File

@@ -14,9 +14,7 @@ import Input from "@/components/TempDesignSystem/Form/Input"
import Phone from "@/components/TempDesignSystem/Form/Phone"
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
import { useRoomContext } from "@/contexts/Details/Room"
import { trackPaymentSectionOpen } from "@/utils/tracking/booking"
import { hasPrepaidRate } from "../../Payment/helpers"
import JoinScandicFriendsCard from "./JoinScandicFriendsCard"
import { getMultiroomDetailsSchema } from "./schema"
@@ -99,8 +97,6 @@ export default function Details() {
const guestIsGoingToJoin = methods.watch("join")
const guestIsMember = methods.watch("membershipNo")
const hasPrepaidRates = rooms.some(hasPrepaidRate)
return (
<FormProvider {...methods}>
<form
@@ -190,11 +186,6 @@ export default function Details() {
typography="Body/Paragraph/mdBold"
size="Medium"
type="submit"
onPress={
isPaymentNext && canProceedToPayment && hasPrepaidRates
? trackPaymentSectionOpen
: undefined
}
>
{isPaymentNext
? intl.formatMessage({