Merge pull request #1857 from amitsharma322/gli-3156
Fixed: Ensure consistent property type display across QloApps
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label class="control-label col-lg-3">{l s='Hotel' mod='qlohotelreview'}</label>
|
||||
<label class="control-label col-lg-3">{if $obj_hotel->propertyTypeName}{$obj_hotel->propertyTypeName|escape:'html':'UTF-8'}{else}{l s='Property' mod='qlohotelreview'}{/if}</label>
|
||||
<div class="col-lg-9">
|
||||
<p class="form-control-static">
|
||||
<a href="{$link->getAdminLink('AdminAddHotel')}&updatehtl_branch_info&id={$currentObject->id_hotel}" target="_blank">
|
||||
|
||||
@@ -155,7 +155,7 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
|
||||
parent::initToolbar();
|
||||
$this->page_header_toolbar_btn['new'] = array(
|
||||
'href' => self::$currentIndex.'&add'.$this->table.'&token='.$this->token,
|
||||
'desc' => $this->l('Add New Hotel Amenity')
|
||||
'desc' => $this->l('Add New Property Amenity')
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ class WkHotelFeaturesBlock extends Module
|
||||
public function callInstallTab()
|
||||
{
|
||||
//Controllers which are to be used in this modules but we have not to create tab for those Controllers...
|
||||
$this->installTab('AdminFeaturesModuleSetting', 'Hotel Amenities Configurations');
|
||||
$this->installTab('AdminFeaturesModuleSetting', 'Property Amenities Configurations');
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -327,7 +327,7 @@
|
||||
{if isset($hotel_dynamic_amenities) && $hotel_dynamic_amenities}
|
||||
<div class="info_margin_div">
|
||||
<div class="room_info_heading">
|
||||
<span>{l s='Hotel Amenities'}</span>
|
||||
<span>{l s='%s Amenities' sprintf=$property_type}</span>
|
||||
</div>
|
||||
<div class="room_info_content row">
|
||||
{foreach from=$hotel_dynamic_amenities item=amenity}
|
||||
|
||||
Reference in New Issue
Block a user