public function ListareDetaliiHotel($tara, $oras, $slughotel) { $hotel = Hoteluri::findBySlug($slughotel); $oras = Orase::findbyslug($oras); $hotel_id = Hoteluri::findOrFail($hotel->id); $weather = Weather::where('HotelID', $hotel->id)->get(); $hoteluriSimilare = Hoteluri::where('AidaID', '<>', $hotel->AidaID)->where('City', $oras->AidaID)->take(3)->get(); return view('frontend.detalii-hotel')->with('hotel', $hotel)->with('weather', $weather)->with('hoteluriSimilare', $hoteluriSimilare)->with('hotel_id', $hotel_id); }