diff --git a/modules/hotelreservationsystem/classes/HotelHelper.php b/modules/hotelreservationsystem/classes/HotelHelper.php index 337f96e5c..d8f9b10d2 100644 --- a/modules/hotelreservationsystem/classes/HotelHelper.php +++ b/modules/hotelreservationsystem/classes/HotelHelper.php @@ -2323,23 +2323,23 @@ class HotelHelper return array( 'General Rooms' => array( // Internet Access Free, Power Backup, Parking, NewsPaper In Lobby, Laundry Service, Gardens, Room Service, Welcome Drinks - 'amenities' => array(10, 25, 48, 12, 24, 55, 38, 14), - 'featured' => array(10, 25, 48, 12, 24, 55), + 'amenities' => array(10, 25, 48, 12, 24, 55, 38, 14, 11), + 'featured' => array(10, 25, 48, 12, 24, 55, 38, 14), ), 'Delux Rooms' => array( - // + Bar / Lounge - 'amenities' => array(10, 25, 48, 38, 14, 24, 55, 99, 12), - 'featured' => array(10, 25, 38, 14, 48, 24), + // + Bar / Lounge, Transfer Available + 'amenities' => array(10, 25, 48, 38, 14, 24, 55, 99, 12, 11), + 'featured' => array(10, 25, 38, 14, 48, 24, 55, 99), ), 'Executive Rooms' => array( // + Health Club / Gym, Multi Cuisine Restaurant 'amenities' => array(10, 25, 48, 38, 14, 24, 12, 69, 99, 100), - 'featured' => array(10, 38, 14, 69, 100, 48), + 'featured' => array(10, 38, 14, 69, 100, 48, 25, 24), ), 'Luxury Rooms' => array( // + Car Rental, Swimming Pool, Jacuzzi, Spa Services 'amenities' => array(10, 25, 48, 38, 14, 24, 40, 69, 93, 94, 87, 99, 100), - 'featured' => array(10, 38, 93, 94, 87, 100), + 'featured' => array(10, 38, 93, 94, 87, 100, 69, 99), ), ); } diff --git a/modules/wkhotelroom/wkhotelroom.php b/modules/wkhotelroom/wkhotelroom.php index 8f561160a..67425eb78 100644 --- a/modules/wkhotelroom/wkhotelroom.php +++ b/modules/wkhotelroom/wkhotelroom.php @@ -51,7 +51,6 @@ class WkHotelRoom extends Module $dateFrom = date('Y-m-d'); $dateTo = date('Y-m-d', strtotime($dateFrom) + 86400); $useTax = HotelBookingDetail::useTax(); - $maxAmenities = (int) Configuration::get('WK_MAX_AMENITIES_ROOM_SEARCH'); $maxFeatures = (int) Configuration::get('WK_MAX_FEATURES_ROOM_SEARCH'); $maxFeatureValues = (int) Configuration::get('WK_MAX_ROOM_TYPE_FEATURE_VALUES'); foreach ($hotelRoomDisplay as &$htlRoom) { @@ -128,11 +127,7 @@ class WkHotelRoom extends Module $roomFeature['value'] = implode(', ', array_slice($roomFeature['values'], 0, $maxFeatureValues ?: null)); } unset($roomFeature); - $htlRoom['amenities'] = array_slice( - HotelRoomTypeAmenities::getAmenities($idProduct, $idLang, true), - 0, - $maxAmenities ?: null - ); + $htlRoom['amenities'] = HotelRoomTypeAmenities::getAmenities($idProduct, $idLang, true); $htlRoom['feature_price'] = $featurePrice; $htlRoom['feature_price_diff'] = (float)($priceWithoutReduction - $featurePrice); }