feat: tracking - added discount property and some basics for paymentInfo
This commit is contained in:
@@ -115,7 +115,10 @@ export default function EnterDetailsTracking(props: Props) {
|
||||
bedType: bedType?.description,
|
||||
roomTypeCode: bedType?.roomTypeCode,
|
||||
roomPrice: roomPrice.perStay.local.price,
|
||||
//discount: public - member rates?.
|
||||
discount: roomRate.memberRate
|
||||
? roomRate.publicRate.localPrice.pricePerStay -
|
||||
roomRate.memberRate.localPrice.pricePerStay
|
||||
: 0,
|
||||
}
|
||||
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user