Merged in SW-2728-mystay-totalpoints (pull request #2201)

fix(SW-2728): add totalpoints to mystay

* fix(2728): add totalpoints to mystay

* fix(SW-2728): add totalPoints everywhere


Approved-by: Anton Gunnarsson
This commit is contained in:
Bianca Widstam
2025-05-23 13:46:27 +00:00
parent afd9b3b246
commit fed24b9012
7 changed files with 12 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ export function calculateTotalPrice(rooms: Room[], currency: CurrencyEnum) {
case PriceTypeEnum.points:
{
total.local.currency = CurrencyEnum.POINTS
total.local.price = total.local.price + room.roomPoints
total.local.price = total.local.price + room.totalPoints
}
break
case PriceTypeEnum.voucher: