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:
@@ -27,7 +27,7 @@ export default function HotelChequeCard({
|
||||
{productTypeCheque.localPrice.numberOfCheques}
|
||||
</Subtitle>
|
||||
<Caption color="uiTextHighContrast">{CurrencyEnum.CC}</Caption>
|
||||
{productTypeCheque.localPrice.additionalPricePerStay && (
|
||||
{productTypeCheque.localPrice.additionalPricePerStay > 0 ? (
|
||||
<>
|
||||
{"+"}
|
||||
<Subtitle type="two" color="uiTextHighContrast">
|
||||
@@ -37,10 +37,11 @@ export default function HotelChequeCard({
|
||||
{productTypeCheque.localPrice.currency}
|
||||
</Caption>
|
||||
</>
|
||||
)}
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
{productTypeCheque.requestedPrice ? (
|
||||
{productTypeCheque.requestedPrice &&
|
||||
productTypeCheque.requestedPrice.additionalPricePerStay > 0 ? (
|
||||
<div className={styles.chequeRow}>
|
||||
<Caption color="uiTextMediumContrast">
|
||||
{intl.formatMessage({
|
||||
|
||||
@@ -69,9 +69,7 @@ function HotelCard({
|
||||
|
||||
const addressStr = `${hotel.address.streetAddress}, ${hotel.address.city}`
|
||||
const galleryImages = mapApiImagesToGalleryImages(hotel.galleryImages || [])
|
||||
const fullPrice =
|
||||
!availability.productType?.public?.bookingCode &&
|
||||
!availability.productType?.member?.bookingCode
|
||||
const fullPrice = !availability.bookingCode
|
||||
const price = availability.productType
|
||||
|
||||
const hasInsufficientPoints = !price?.redemptions?.some(
|
||||
|
||||
Reference in New Issue
Block a user