Feat/BOOK-529 update GLA design mystay * feat(BOOK-529): update gla design on my stay * feat(BOOK-529): open gla modal if error * feat(BOOK-529): add inline accordion to storybook * feat(529): move errormessage below message * feat(529): update infomodal * feat(BOOK-529): update infomodal * feat(BOOK-529): hide guarantee info for adding ancillaries if prepaid * feat(BOOK-529): update width on info dialog * feat(BOOK-529): fix alignment * feat(BOOK-529): check if member price * feat(BOOK-529): refactor msg * feat(BOOK-529): refactor terms and conditions to own component * feat(BOOK-529): clean up confirmation step Approved-by: Christel Westerberg
49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
"use client"
|
|
import { useIntl } from "react-intl"
|
|
|
|
import { Divider } from "@scandic-hotels/design-system/Divider"
|
|
import { Typography } from "@scandic-hotels/design-system/Typography"
|
|
|
|
import TotalPrice from "../Rooms/TotalPrice"
|
|
import GuaranteePaymentFailed from "./Actions/Upcoming/GuaranteePaymentFailed"
|
|
import Actions from "./Actions"
|
|
import BookingCode from "./BookingCode"
|
|
import Cancellations from "./Cancellations"
|
|
import Dates from "./Dates"
|
|
import GuaranteeInfo from "./GuaranteeInfo"
|
|
import Guests from "./Guests"
|
|
import Reference from "./Reference"
|
|
import Room from "./Room"
|
|
|
|
import styles from "./referenceCard.module.css"
|
|
|
|
export function ReferenceCard() {
|
|
const intl = useIntl()
|
|
return (
|
|
<div className={styles.referenceCard}>
|
|
<Reference />
|
|
<Dates />
|
|
<Guests />
|
|
<Room />
|
|
<Cancellations />
|
|
<GuaranteeInfo />
|
|
<Divider />
|
|
|
|
<div className={styles.row}>
|
|
<Typography variant="Body/Lead text">
|
|
<p>
|
|
{intl.formatMessage({
|
|
id: "common.total",
|
|
defaultMessage: "Total",
|
|
})}
|
|
</p>
|
|
</Typography>
|
|
<TotalPrice />
|
|
</div>
|
|
<BookingCode />
|
|
<Actions />
|
|
<GuaranteePaymentFailed />
|
|
</div>
|
|
)
|
|
}
|