Merged in fix/refactor-currency-display (pull request #3434)
fix(SW-3616): Handle EuroBonus point type everywhere * Add tests to formatPrice * formatPrice * More work replacing config with api points type * More work replacing config with api points type * More fixing with currency * maybe actually fixed it * Fix MyStay * Clean up * Fix comments * Merge branch 'master' into fix/refactor-currency-display * Fix calculateTotalPrice for EB points + SF points + cash Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -195,7 +195,8 @@ export default function SummaryContent({
|
||||
selectedRates.totalPrice.local.price,
|
||||
selectedRates.totalPrice.local.currency,
|
||||
selectedRates.totalPrice.local.additionalPrice,
|
||||
selectedRates.totalPrice.local.additionalPriceCurrency
|
||||
selectedRates.totalPrice.local.additionalPriceCurrency,
|
||||
selectedRates.totalPrice.local.pointsType
|
||||
)}
|
||||
</span>
|
||||
</Typography>
|
||||
|
||||
@@ -137,7 +137,8 @@ export default function Room({
|
||||
room.roomPrice.perStay.local.price,
|
||||
room.roomPrice.perStay.local.currency,
|
||||
room.roomPrice.perStay.local.additionalPrice,
|
||||
room.roomPrice.perStay.local.additionalPriceCurrency
|
||||
room.roomPrice.perStay.local.additionalPriceCurrency,
|
||||
room.roomPrice.perStay.local.pointsType
|
||||
)}
|
||||
</p>
|
||||
{showDiscounted && room.roomPrice.perStay.local.regularPrice ? (
|
||||
|
||||
@@ -100,7 +100,8 @@ export function MobileSummary() {
|
||||
selectedRates.totalPrice.local.price,
|
||||
selectedRates.totalPrice.local.currency,
|
||||
selectedRates.totalPrice.local.additionalPrice,
|
||||
selectedRates.totalPrice.local.additionalPriceCurrency
|
||||
selectedRates.totalPrice.local.additionalPriceCurrency,
|
||||
selectedRates.totalPrice.local.pointsType
|
||||
)}
|
||||
</span>
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user