Merged in fix/SW-2728-update-totalpoints-my-stay (pull request #2074)
fix(SW-2728): update totalpoints in my stay * fix(SW-2728): update totalpoints in my stay Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -16,7 +16,7 @@ export default function TotalPrice() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
const totalCheques = rooms.reduce((total, room) => total + room.cheques, 0)
|
const totalCheques = rooms.reduce((total, room) => total + room.cheques, 0)
|
||||||
const totalPoints = rooms.reduce((total, room) => total + room.roomPoints, 0)
|
const totalPoints = rooms.reduce((total, room) => total + room.totalPoints, 0)
|
||||||
|
|
||||||
let totalPrice = rooms.reduce((total, room) => total + room.totalPrice, 0)
|
let totalPrice = rooms.reduce((total, room) => total + room.totalPrice, 0)
|
||||||
if (rooms.some((room) => room.vouchers)) {
|
if (rooms.some((room) => room.vouchers)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user