Merged in fix/SW-2642-select-hotel-corporate-ch (pull request #2003)
fix: SW-2642 Fixed corporate chq and voucher rates city search * fix: SW-2642 Fixed corporate chq and voucher rates city search * fix: SW-2642 Fixed no availability alert for all hotels * fix: SW-2642 Combined flags to suitable variable * fix: SW-2642 Fixed map view to show prices Approved-by: Arvid Norlin
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
gap: var(--Space-x05);
|
||||
}
|
||||
|
||||
.bookingCodeChip .unavailable {
|
||||
.unavailable {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
|
||||
@@ -65,24 +65,16 @@ export default function BookingCodeChip({
|
||||
icon={<DiscountIcon color="Icon/Feedback/Information" />}
|
||||
className={alignCenter ? styles.center : undefined}
|
||||
>
|
||||
<p className={styles.bookingCodeChip}>
|
||||
<p
|
||||
className={`${styles.bookingCodeChip} ${isUnavailable ? styles.unavailable : ""}`}
|
||||
>
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
<strong>
|
||||
{intl.formatMessage({ defaultMessage: "Booking code" })}
|
||||
</strong>
|
||||
</Typography>
|
||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||
<span className={`${isUnavailable ? styles.unavailable : ""}`}>
|
||||
{isUnavailable
|
||||
? intl.formatMessage(
|
||||
{ defaultMessage: "{code} unavailable" },
|
||||
{ code: bookingCode }
|
||||
)
|
||||
: intl.formatMessage(
|
||||
{ defaultMessage: "{code} applied" },
|
||||
{ code: bookingCode }
|
||||
)}
|
||||
</span>
|
||||
<span>{bookingCode}</span>
|
||||
</Typography>
|
||||
</p>
|
||||
</IconChip>
|
||||
|
||||
Reference in New Issue
Block a user