commented the condition that prevents the booking if pricing is not selected to allow dev while the feature is not implemented
This commit is contained in:
		@@ -240,9 +240,10 @@ func plan[T resources.ResourceInterface](
 | 
			
		||||
			return resources, priceds, errors.New("could not load the processing resource")
 | 
			
		||||
		}
 | 
			
		||||
		priced := realItem.ConvertToPricedResource(dt, request)
 | 
			
		||||
		if priced.SelectPricing() == nil {
 | 
			
		||||
			return resources, priceds, errors.New("no pricings are selected... can't proceed")
 | 
			
		||||
		}
 | 
			
		||||
		// Should be commented once the Pricing selection feature has been implemented, related to the commit d35ad440fa77763ec7f49ab34a85e47e75581b61
 | 
			
		||||
		// if priced.SelectPricing() == nil {
 | 
			
		||||
		// 	return resources, priceds, errors.New("no pricings are selected... can't proceed")
 | 
			
		||||
		// }
 | 
			
		||||
		started, duration := start(realItem, priced)
 | 
			
		||||
		priced.SetLocationStart(started)
 | 
			
		||||
		if duration >= 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user