diff --git a/components/HotelReservation/EnterDetails/Details/MemberPriceModal/index.tsx b/components/HotelReservation/EnterDetails/Details/MemberPriceModal/index.tsx index ddaadbaa3..d7fb1283f 100644 --- a/components/HotelReservation/EnterDetails/Details/MemberPriceModal/index.tsx +++ b/components/HotelReservation/EnterDetails/Details/MemberPriceModal/index.tsx @@ -11,7 +11,7 @@ import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import Title from "@/components/TempDesignSystem/Text/Title" import { formatPrice } from "@/utils/numberFormatting" -import Modal from "../../Modal" +import Modal from "../../../Modal" import styles from "./modal.module.css" diff --git a/components/HotelReservation/EnterDetails/Summary/UI/index.tsx b/components/HotelReservation/EnterDetails/Summary/UI/index.tsx index d828f6c55..2f24ea221 100644 --- a/components/HotelReservation/EnterDetails/Summary/UI/index.tsx +++ b/components/HotelReservation/EnterDetails/Summary/UI/index.tsx @@ -20,7 +20,7 @@ import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import useLang from "@/hooks/useLang" import { formatPrice } from "@/utils/numberFormatting" -import Modal from "../../Modal" +import Modal from "../../../Modal" import PriceDetailsTable from "../PriceDetailsTable" import styles from "./ui.module.css" diff --git a/components/HotelReservation/EnterDetails/Modal/index.tsx b/components/HotelReservation/Modal/index.tsx similarity index 84% rename from components/HotelReservation/EnterDetails/Modal/index.tsx rename to components/HotelReservation/Modal/index.tsx index 50f8b838c..89baac915 100644 --- a/components/HotelReservation/EnterDetails/Modal/index.tsx +++ b/components/HotelReservation/Modal/index.tsx @@ -11,6 +11,7 @@ import { import { useIntl } from "react-intl" import { CloseLargeIcon } from "@/components/Icons" +import Preamble from "@/components/TempDesignSystem/Text/Preamble" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { @@ -34,6 +35,7 @@ function InnerModal({ isOpen, children, title, + subtitle, }: PropsWithChildren) { const intl = useIntl() function modalStateHandler(newAnimationState: AnimationState) { @@ -74,11 +76,18 @@ function InnerModal({ {({ close }) => ( <>
- {title && ( - - {title} - - )} +
+ {title && ( + + {title} + + )} + {subtitle && ( + + {subtitle} + + )} +
} + title={name} + subtitle={paymentTerm} > - - {name} - - {priceInformation?.map((info) => ( - - {info} - - ))} - +
+ {priceInformation?.map((info) => ( + + + {info} + + ))} +
+
{name} ({paymentTerm})