fix: always use totalPrice to display roomCharge
This commit is contained in:
committed by
Simon.Emanuelsson
parent
edc4f0c016
commit
b5deb84b33
@@ -53,7 +53,7 @@ export default function VoucherPrice({
|
||||
|
||||
let averagePricePerNight = `${price.numberOfVouchers} ${CurrencyEnum.Voucher}`
|
||||
if (averageAdditionalPricePerNight) {
|
||||
averagePricePerNight = `${averagePricePerNight} + ${averageAdditionalPricePerNight} ${pkgsSum.currency}`
|
||||
averagePricePerNight = `${averagePricePerNight} + ${averageAdditionalPricePerNight} ${pkgsSum.currency ?? currency}`
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -68,7 +68,7 @@ export default function VoucherPrice({
|
||||
price.numberOfVouchers,
|
||||
CurrencyEnum.Voucher,
|
||||
additionalPricePerStay,
|
||||
pkgsSum.currency
|
||||
pkgsSum.currency ?? currency
|
||||
)}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user