feat: SW-1588 Optimized as per review comments
This commit is contained in:
@@ -44,7 +44,7 @@ export const roomConfigurationSchema = z
|
||||
return product
|
||||
}
|
||||
|
||||
// Return rate even if single when special rates
|
||||
// Return rate even if single when booking code rate which can be any one of other rate types
|
||||
if (product.productType.public.rateType !== RateTypeEnum.Regular) {
|
||||
return product
|
||||
}
|
||||
@@ -73,7 +73,8 @@ export const roomConfigurationSchema = z
|
||||
/**
|
||||
* When all products miss at least one rateCode (member or public), we change the status to NotAvailable
|
||||
* since we cannot as of now (31 january) guarantee the flow with missing rateCodes.
|
||||
* Exception Special rate (Booking code rates)
|
||||
* This rule applies to regular rates (Save, Change and Flex)
|
||||
* Exception Booking code rate
|
||||
*
|
||||
* TODO: (Maybe) notify somewhere that this happened
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user