feat(SW-1730): add button to room sidepeek on hotelpage to select rate page for the hotel
This commit is contained in:
@@ -44,6 +44,16 @@ export function selectRate(lang) {
|
||||
return `${hotelreservation(lang)}/select-rate`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
* @param {string} hotelId
|
||||
* @param {string} fromdate
|
||||
* @param {string} todate
|
||||
*/
|
||||
export function selectRateWithParams(lang, hotelId, fromdate, todate) {
|
||||
return `${hotelreservation(lang)}/select-rate?room%5B0%5D.adults=1&fromdate=${fromdate}&todate=${todate}&hotel=${hotelId}`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user