Merged in feat(SW-2083)-missing-booking-codes-scenarios-my-stay (pull request #1680)
Feat(SW-2083) missing booking codes scenarios my stay * feat(SW-2083) Show points instead of reward nights * feat(SW-2083) added support for cheque and voucher for totalPrice Approved-by: Niclas Edenvin
This commit is contained in:
@@ -30,8 +30,14 @@ export default function BookingSummary({ hotel }: BookingSummaryProps) {
|
||||
|
||||
const bookedRoom = useMyStayRoomDetailsStore((state) => state.bookedRoom)
|
||||
|
||||
const { isCancelled, createDateTime, guaranteeInfo, checkInDate, isPrePaid } =
|
||||
bookedRoom
|
||||
const {
|
||||
isCancelled,
|
||||
createDateTime,
|
||||
guaranteeInfo,
|
||||
checkInDate,
|
||||
isPrePaid,
|
||||
priceType,
|
||||
} = bookedRoom
|
||||
|
||||
const directionsUrl = `https://www.google.com/maps/dir/?api=1&destination=${hotel.location.latitude},${hotel.location.longitude}`
|
||||
|
||||
@@ -57,7 +63,9 @@ export default function BookingSummary({ hotel }: BookingSummaryProps) {
|
||||
</Typography>
|
||||
<div className={styles.bookingSummaryContent}>
|
||||
<SummaryCard
|
||||
title={<TotalPrice variant="Body/Paragraph/mdBold" />}
|
||||
title={
|
||||
<TotalPrice variant="Body/Paragraph/mdBold" type={priceType} />
|
||||
}
|
||||
image={{
|
||||
src: "/_static/img/scandic-coin.svg",
|
||||
alt: "Scandic coin",
|
||||
|
||||
Reference in New Issue
Block a user