Esempio n. 1
0
 function display($tpl = null)
 {
     $this->hotel = $this->get("Item");
     $this->state = $this->get('State');
     $this->offers = $this->get("Offers");
     $this->rooms = $this->get("Rooms");
     $this->appSettings = JHotelUtil::getInstance()->getApplicationSettings();
     if ($this->appSettings->is_enable_reservation == 0) {
         JHotelUtil::getInstance()->showUnavailable();
     }
     $this->userData = UserDataService::getUserData();
     $this->currencies = CurrencyService::getAllCurrencies();
     //dmp($this->userData);
     parent::display($tpl);
 }