Merge pull request #1857 from amitsharma322/gli-3156

Fixed: Ensure consistent property type display across QloApps
This commit is contained in:
Rohit Jain
2026-10-13 20:28:08 +05:30
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -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">

View File

@@ -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')
);
}

View File

@@ -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;
}

View File

@@ -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}