Feat/SW-1368 1369 Guarantee late arrival * feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay * feat(SW-1368-SW-1369): guarantee late arrival updated design * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): fix merge with master * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): add redirect with refId * feat(SW-1368-SW-1369): if booking completed redirect to confirmation page * feat(SW-1368-SW-1369): fix comments pr * feat(SW-1368-SW-1369): fix comments pr * feat(SW-1368-SW-1369): fix rebase master * feat(SW-1368-SW-1369): fix duplicate flex rate check * feat(SW-1368-SW-1369): if any room is flex, card must be used * feat(SW-1368-SW-1369): move callback route * feat(SW-1368-SW-1369): top align checkbox * feat(SW-1368-SW-1369): top align checkbox Approved-by: Tobias Johansson Approved-by: Niclas Edenvin
67 lines
1.2 KiB
JavaScript
67 lines
1.2 KiB
JavaScript
/**
|
|
* @typedef {import('@/constants/languages').Lang} Lang
|
|
*/
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function hotelreservation(lang) {
|
|
return `/${lang}/hotelreservation`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function bookingConfirmation(lang) {
|
|
return `${hotelreservation(lang)}/booking-confirmation`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function details(lang) {
|
|
return `${hotelreservation(lang)}/details`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function selectHotel(lang) {
|
|
return `${hotelreservation(lang)}/select-hotel`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function selectHotelMap(lang) {
|
|
return `${hotelreservation(lang)}/select-hotel/map`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function selectRate(lang) {
|
|
return `${hotelreservation(lang)}/select-rate`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function alternativeHotels(lang) {
|
|
return `${hotelreservation(lang)}/alternative-hotels`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function alternativeHotelsMap(lang) {
|
|
return `${hotelreservation(lang)}/alternative-hotels/map`
|
|
}
|
|
|
|
/**
|
|
* @param {Lang} lang
|
|
*/
|
|
export function guaranteeCallback(lang) {
|
|
return `${hotelreservation(lang)}/gla-payment-callback`
|
|
}
|