Project

General

Profile

Task #173

Updated by Dana Basheer about 2 months ago

The Location Based Hotel Feature allows users to view hotels available in a selected location. 
 Hotels should be displayed dynamically based on the selected location (district / city / locality). 

 This feature helps users easily find hotels available in their chosen destination. 

 Hotel Listing Section 

 After location selection, display hotel cards. 

 Each hotel card must display: 

 * Hotel Image 
 * Hotel Name 
 * Location 
 * Star Rating 
 * Starting Price 
 * View Details Button 

 **Validations** 

 Location Selection 

 * District must belong to selected state 
 * City must belong to selected district 

 Hotel Display 

 Hotels must satisfy: 

 * hotel.city_id = selected city 

 Empty Result Handling 

 * If no hotels found: 

 Display message: 

     "No hotels available in this location" 

 Image  

 * Hotel must show at least one image 
 * If no image available, show default placeholder image Data Source (Backend Tables Used) 


Back