replace hotel word to property

This commit is contained in:
Amit sharma
2026-05-20 14:57:42 +05:30
parent e04de090b0
commit f98ad8ee82
38 changed files with 107 additions and 107 deletions

View File

@@ -261,11 +261,11 @@
<div class="col-lg-6">
{if isset($hotels) && $hotels}
<div class="panel">
<h3>{l s='Hotel Permissions'}</h3>
<h3>{l s='Property Permissions'}</h3>
<table class="table" id="table_hotel_{$profile.id_profile}">
<thead>
<tr>
<th>{l s='Hotel'}</th>
<th>{l s='Property'}</th>
<th>
<input type="checkbox"{if $access_edit == 1} class="changeHotelAccess" data-rel="-1||all||{$profile.id_profile}"{else} disabled="disabled"{/if}/>
{l s='All'}

View File

@@ -45,7 +45,7 @@
<th></th>
<th>{l s='Stay No.'}</th>
<th>{l s='Room Type'}</th>
<th>{l s='Hotel Name'}</th>
<th>{l s='Property Name'}</th>
<th>{l s='Duration'}</th>
<th>{l s='Total Price (Tax incl.)'}</th>
</tr>

View File

@@ -86,7 +86,7 @@ class AdminImagesControllerCore extends AdminController
'orderby' => false
),
'hotels' => array(
'title' => $this->l('Hotels'),
'title' => $this->l('Properties'),
'align' => 'center',
'type' => 'bool',
'active' => 'hotels',
@@ -301,7 +301,7 @@ class AdminImagesControllerCore extends AdminController
),
array(
'type' => 'switch',
'label' => $this->l('Hotels'),
'label' => $this->l('Properties'),
'name' => 'hotels',
'required' => false,
'is_bool' => true,
@@ -503,7 +503,7 @@ class AdminImagesControllerCore extends AdminController
$types = array(
'categories' => $this->l('Categories'),
'products' => $this->l('Room Types/Products'),
'hotels' => $this->l('Hotels'),
'hotels' => $this->l('Properties'),
// 'manufacturers' => $this->l('Manufacturers'),
// 'suppliers' => $this->l('Suppliers'),
// 'scenes' => $this->l('Scenes'),

View File

@@ -78,7 +78,7 @@ class AdminImportControllerCore extends AdminController
{
$this->bootstrap = true;
$this->entities = array(
$this->l('Hotels'),
$this->l('Properties'),
$this->l('Room Types'),
$this->l('Stays'),
$this->l('Categories'),
@@ -108,7 +108,7 @@ class AdminImportControllerCore extends AdminController
'parent' => Configuration::get('PS_HOME_CATEGORY'),
);
break;
case $this->entities[$this->l('Hotels')]:
case $this->entities[$this->l('Properties')]:
$this->required_fields = array(
'hotel_name',
'phone',
@@ -132,7 +132,7 @@ class AdminImportControllerCore extends AdminController
'no' => array('label' => $this->l('Ignore this column')),
'id' => array('label' => $this->l('ID')),
'active' => array('label' => $this->l('Active (0/1)')),
'hotel_name' => array('label' => $this->l('Hotel Name *')),
'hotel_name' => array('label' => $this->l('Property Name *')),
'short_description' => array('label' => $this->l('Short Description')),
'description' => array('label' => $this->l('Description')),
'phone' => array('label' => $this->l('Mobile phone *')),
@@ -146,7 +146,7 @@ class AdminImportControllerCore extends AdminController
'city' => array('label' => $this->l('City *')),
'postcode' => array('label' => $this->l('Zip Code *')),
'fax' => array('label' => $this->l('Fax')),
'policies' => array('label' => $this->l('Hotel Policies')),
'policies' => array('label' => $this->l('Property Policies')),
'active_refund' => array('label' => $this->l('Allow Refund (0 = No, 1 = Yes)')),
'refund_ids' => array('label' => $this->l('Refund IDs (x,y,z...)')),
'max_checkout_offset' => array('label' => $this->l('Maximum checkout offset')),
@@ -169,7 +169,7 @@ class AdminImportControllerCore extends AdminController
'id' => array('label' => $this->l('ID')),
'active' => array('label' => $this->l('Active (0/1)')),
'name' => array('label' => $this->l('Name *')),
'id_hotel' => array('label' => $this->l('Hotel ID *')),
'id_hotel' => array('label' => $this->l('Property ID *')),
'price' => array('label' => $this->l('Pre-tax retail price')),
'wholesale_price' => array('label' => $this->l('Pre-tax operating cost')),
'id_tax_rules_group' => array('label' => $this->l('Tax rule ID')),
@@ -1479,8 +1479,8 @@ class AdminImportControllerCore extends AdminController
}
}
} else {
$this->warnings[] = $this->l('Hotel creation for the ').$objCountry->name.
$this->l(' is currently unavailable. Kindly activate the country for hotel creation.');
$this->warnings[] = $this->l('Property creation for the ').$objCountry->name.
$this->l(' is currently unavailable. Kindly activate the country for property creation.');
}
}
}
@@ -3297,7 +3297,7 @@ class AdminImportControllerCore extends AdminController
}
}
break;
case $this->entities[$this->l('Hotels')]:
case $this->entities[$this->l('Properties')]:
Db::getInstance()->execute('TRUNCATE TABLE `'._DB_PREFIX_.'htl_branch_info_lang`');
Db::getInstance()->execute('DELETE c, cl FROM `'._DB_PREFIX_.'category` c
LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.id_category = cl.id_category
@@ -3494,7 +3494,7 @@ class AdminImportControllerCore extends AdminController
$import_type = false;
Db::getInstance()->disableCache();
switch ((int)Tools::getValue('entity')) {
case $this->entities[$import_type = $this->l('Hotels')]:
case $this->entities[$import_type = $this->l('Properties')]:
$this->hotelImport();
$this->clearSmartyCache();
break;

View File

@@ -330,7 +330,7 @@ class AdminOrderPreferencesControllerCore extends AdminController
),
array(
'value' => Product::STANDARD_PRODUCT_ADDRESS_PREFERENCE_HOTEL,
'name' => $this->l('Hotel Address')
'name' => $this->l('Property Address')
),
array(
'value' => Product::STANDARD_PRODUCT_ADDRESS_PREFERENCE_CUSTOM,
@@ -374,8 +374,8 @@ class AdminOrderPreferencesControllerCore extends AdminController
'identifier' => 'value',
'js' => "changeStandardProductAddressType()",
'hint' => $this->l('Select address for standard product tax calculation, this will be used to calculate the tax for the standard product price.'),
'desc' => $this->l('The selected address will be used to calculate tax for standard products. To change the hotel address, update the "Primary Hotel" in the').
'<a href="'.$this->context->link->getAdminLink('AdminHotelGeneralSettings').'"> '.$this->l('Hotel General Configuration.').'</a>'
'desc' => $this->l('The selected address will be used to calculate tax for standard products. To change the property address, update the "Primary Property" in the').
'<a href="'.$this->context->link->getAdminLink('AdminHotelGeneralSettings').'"> '.$this->l('Property General Configuration.').'</a>'
),
'PS_STANDARD_PRODUCT_ORDER_ADDRESS' => array(
'title' => $this->l('Custom address for tax calculation'),

View File

@@ -7,7 +7,7 @@
<tr>
<th>{l s="Stay Num"}</th>
<th>{l s="Room Type"}</th>
<th>{l s="Hotel"}</th>
<th>{l s="Property Name"}</th>
<th>{l s="Duration"}</th>
</tr>
</thead>

View File

@@ -6,7 +6,7 @@
</tr>
<tr>
<th>{l s="Room Type"}</th>
<th>{l s="Hotel"}</th>
<th>{l s="Property Name"}</th>
<th>{l s="Stays Qty"}</th>
<th>{l s="Duration"}</th>
</tr>

View File

@@ -5,7 +5,7 @@
{l s="Room Type"}
{l s="Hotel"}
{l s="Property Name"}
{l s="Stays Qty"}

View File

@@ -1,12 +1,12 @@
{if isset($list['hotel_name']) && $list['hotel_name']}
<font size="2" face="Open-sans, sans-serif" color="#555454">
<p data-html-only="1" style="margin:3px 0 0px;font-weight:500;font-size:18px;padding-bottom: 10px;">
{l s='Hotel details'}:
{l s='Property details'}:
</p>
<p style="margin:3px 0 0px;">
<span style="color:#333"><strong>{l s='Hotel Name'}:</strong></span> {$list['hotel_name']}<br />
<span style="color:#333"><strong>{l s='Hotel Phone'}:</strong></span> {$list['hotel_phone']}<br />
<span style="color:#333"><strong>{l s='Hotel Email'}:</strong></span> {$list['hotel_email']}<br />
<span style="color:#333"><strong>{l s='Property Name'}:</strong></span> {$list['hotel_name']}<br />
<span style="color:#333"><strong>{l s='Property Phone'}:</strong></span> {$list['hotel_phone']}<br />
<span style="color:#333"><strong>{l s='Property Email'}:</strong></span> {$list['hotel_email']}<br />
<span style="color:#333"><strong>{l s='Total Stays'}:</strong></span> {$list['num_rooms']}<br />
</p>
</font>

View File

@@ -1,9 +1,9 @@
{if isset($list['hotel_name']) && $list['hotel_name']}
{l s='Hotel details'}:
{l s='Property details'}:
{l s='Hotel Name'}: {$list['hotel_name']}
{l s='Hotel Phone'}: {$list['hotel_phone']}
{l s='Hotel Email'}: {$list['hotel_email']}
{l s='Property Name'}: {$list['hotel_name']}
{l s='Property Phone'}: {$list['hotel_phone']}
{l s='Property Email'}: {$list['hotel_email']}
{l s='Total Stays'}: {$list['num_rooms']}
{/if}

View File

@@ -215,7 +215,7 @@
<span id="layer_cart_product_time_duration"></span>
</div>
<div>
<strong class="dark layer_cart_product_txt">{l s='Hotel Name' mod='blockcart'} &nbsp;-&nbsp;</strong>
<strong class="dark layer_cart_product_txt">{l s='Property Name' mod='blockcart'} &nbsp;-&nbsp;</strong>
<span id="layer_cart_product_hotel_name"></span>
</div>
<div>

View File

@@ -58,7 +58,7 @@ class DashInsights extends Module
{
if (Tools::getValue('controller') == 'AdminDashboard') {
Media::addJsDef(array(
'hotel_txt' => $this->l('Hotel'),
'hotel_txt' => $this->l('Property'),
'nights_booked_txt' => $this->l('Nights Booked'),
'room_booked_txt' => $this->l('Stays Booked'),
'length_of_stay_txt' => $this->l('Length Of Stay'),

View File

@@ -146,7 +146,7 @@ class DashProducts extends Module
array('title' => $this->l('Customer Name'), 'class' => 'text-left'),
array('title' => $this->l('Total Stays'), 'class' => 'text-left'),
array('title' => $this->l('Order'), 'class' => 'text-left'),
array('title' => $this->l('Hotel'), 'class' => 'text-left'),
array('title' => $this->l('Property'), 'class' => 'text-left'),
array('title' => $this->l('Total').' '.$this->l('Tax excl.'), 'class' => 'text-left'),
array('title' => $this->l('Date'), 'class' => 'text-left'),
array('title' => $this->l('Status'), 'class' => 'text-left'),
@@ -235,7 +235,7 @@ class DashProducts extends Module
),
array(
'id' => 'category',
'title' => $this->l('Hotel'),
'title' => $this->l('Property'),
'class' => 'text-center',
),
array(
@@ -339,7 +339,7 @@ class DashProducts extends Module
),
array(
'id' => 'hotel',
'title' => $this->l('Hotel'),
'title' => $this->l('Property'),
'class' => 'text-center',
),
array(
@@ -448,7 +448,7 @@ class DashProducts extends Module
),
array(
'id' => 'reference',
'title' => $this->l('Hotel'),
'title' => $this->l('Property'),
'class' => 'text-center'
),
array(

View File

@@ -122,7 +122,7 @@ class AdminHotelConfigurationSettingController extends ModuleAdminController
{
parent::initToolbar();
if ($this->display == 'view') {
$this->toolbar_title = $this->l('Hotel Settings');
$this->toolbar_title = $this->l('Property Settings');
$this->page_header_toolbar_btn['manage_links'] = array(
'icon' => 'process-icon-cogs',
'href' => self::$currentIndex.'&display=list&token='.$this->token,

View File

@@ -113,7 +113,7 @@ class AdminHotelFeaturePricesSettingsController extends ModuleAdminController
'class' => 'chosen',
),
'hotel_name' => array(
'title' => $this->l('Hotel'),
'title' => $this->l('Property'),
'align' => 'center',
'type' => 'select',
'filter_key' => 'hrt!id_hotel',

View File

@@ -112,11 +112,11 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'hint' => $this->l('Enable if you want the next booking search field to be focused automatically after setting value for a field.'),
),
'WK_HOTEL_NAME_SEARCH_THRESHOLD' => array(
'title' => $this->l('Hotel name search threshold'),
'title' => $this->l('Property name search threshold'),
'type' => 'text',
'required' => true,
'validation' => 'isUnsignedInt',
'hint' => $this->l('Enter the number of hotels after which user can search hotel by name.'),
'hint' => $this->l('Enter the number of properties after which user can search property by name.'),
'desc' => $this->l('Set to 0 to always show the search box.'),
'class' => 'fixed-width-xxl',
),
@@ -129,34 +129,34 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'title' => $this->l('Website Configuration'),
'fields' => array(
'WK_HTL_CHAIN_NAME' => array(
'title' => $this->l('Hotel Name'),
'title' => $this->l('Property Name'),
'type' => 'textLang',
'lang' => true,
'required' => true,
'validation' => 'isGenericName',
'hint' => $this->l('Enter Hotel name in case of single hotel or enter your hotels chain name in case of multiple hotels.'),
'hint' => $this->l('Enter Property name in case of single property or enter your properties chain name in case of multiple properties.'),
),
'WK_HTL_TAG_LINE' => array(
'title' => $this->l('Hotel Tag Line'),
'title' => $this->l('Property Tag Line'),
'type' => 'textareaLang',
'lang' => true,
'required' => true,
'validation' => 'isGenericName',
'hint' => $this->l('This will display hotel tag line in hotel page.'),
'hint' => $this->l('This will display property tag line in property page.'),
),
'WK_HTL_SHORT_DESC' => array(
'title' => $this->l('Hotel Short Description'),
'title' => $this->l('Property Short Description'),
'type' => 'textareaLang',
'lang' => true,
'required' => true,
'rows' => '4',
'cols' => '2',
'validation' => 'isGenericName',
'hint' => $this->l('This will display hotel short description in footer. Note: number of letters must be less than 220.'),
'hint' => $this->l('This will display property short description in footer. Note: number of letters must be less than 220.'),
),
'WK_PRIMARY_HOTEL' => array(
'title' => $this->l('Primary hotel'),
'hint' => $this->l('Primary hotel is used to default address for your business. The hotel address will be considered as your registered business address.'),
'title' => $this->l('Primary property'),
'hint' => $this->l('Primary property is used to default address for your business. The property address will be considered as your registered business address.'),
'type' => 'select',
'identifier' => 'id',
'list' => $hotelsInfo,
@@ -541,41 +541,41 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
// End occupancy fields validation
if (!$hotelNameSearchThreshold && $hotelNameSearchThreshold !== '0') {
$this->errors[] = $this->l('Hotel name search threshold field is required.');
$this->errors[] = $this->l('Property name search threshold field is required.');
} elseif (!Validate::isUnsignedInt($hotelNameSearchThreshold)) {
$this->errors[] = $this->l('Hotel name search threshold field is invalid.');
$this->errors[] = $this->l('Property name search threshold field is invalid.');
}
if (!trim(Tools::getValue('WK_HTL_CHAIN_NAME_'.$defaultLangId))) {
$this->errors[] = $this->l('Hotel chain name is required at least in ').$objDefaultLanguage['name'];
$this->errors[] = $this->l('Property chain name is required at least in ').$objDefaultLanguage['name'];
} else {
foreach ($languages as $lang) {
if (trim(Tools::getValue('WK_HTL_CHAIN_NAME_'.$lang['id_lang']))) {
if (!Validate::isGenericName(Tools::getValue('WK_HTL_CHAIN_NAME_'.$lang['id_lang']))) {
$this->errors[] = $this->l('Invalid hotel chain name in ').$lang['name'];
$this->errors[] = $this->l('Invalid property chain name in ').$lang['name'];
}
}
}
}
if (!trim(Tools::getValue('WK_HTL_TAG_LINE_'.$defaultLangId))) {
$this->errors[] = $this->l('Hotel tag line is required at least in ').$objDefaultLanguage['name'];
$this->errors[] = $this->l('Property tag line is required at least in ').$objDefaultLanguage['name'];
} else {
foreach ($languages as $lang) {
if (trim(Tools::getValue('WK_HTL_TAG_LINE_'.$lang['id_lang']))) {
if (!Validate::isGenericName(Tools::getValue('WK_HTL_TAG_LINE_'.$lang['id_lang']))) {
$this->errors[] = $this->l('Invalid Hotel tag line in ').$lang['name'];
$this->errors[] = $this->l('Invalid Property tag line in ').$lang['name'];
}
}
}
}
if (!trim(Tools::getValue('WK_HTL_SHORT_DESC_'.$defaultLangId))) {
$this->errors[] = $this->l('Hotel short description is required at least in ').
$this->errors[] = $this->l('Property short description is required at least in ').
$objDefaultLanguage['name'];
} else {
foreach ($languages as $lang) {
if (trim(Tools::getValue('WK_HTL_SHORT_DESC_'.$lang['id_lang']))) {
if (!Validate::isGenericName(Tools::getValue('WK_HTL_SHORT_DESC_'.$lang['id_lang']))) {
$this->errors[] = $this->l('Invalid hotel short description in ').$lang['name'];
$this->errors[] = $this->l('Invalid property short description in ').$lang['name'];
}
}
}

View File

@@ -644,7 +644,7 @@ class AdminHotelRoomsBookingController extends ModuleAdminController
if (validate::isLoadedObject($objHotelBranch = new HotelBranchInformation($id_hotel))) {
$hotelIdAddress = $objHotelBranch->getHotelIdAddress();
} else {
$this->errrors[] = $this->l('Hotel not found');
$this->errrors[] = $this->l('Property not found');
}
}
@@ -985,11 +985,11 @@ class AdminHotelRoomsBookingController extends ModuleAdminController
'rooms_reallocation_url' => $this->context->link->getAdminLink('AdminHotelRoomsBooking'),
'rooms_booking_url' => $this->context->link->getAdminLink('AdminHotelRoomsBooking'),
'opt_select_all' => $this->l('All Types', null, true),
'slt_another_htl' => $this->l('Select Another Hotel', null, true),
'slt_another_htl' => $this->l('Select Another Property', null, true),
'product_type_cond' => $this->l('Product type is required', null, true),
'from_date_cond' => $this->l('From date is required', null, true),
'to_date_cond' => $this->l('To date is required', null, true),
'hotel_name_cond' => $this->l('Hotel Name is required', null, true),
'hotel_name_cond' => $this->l('Property Name is required', null, true),
'num_rooms_cond' => $this->l('Number of Rooms is required', null, true),
'add_to_cart' => $this->l('Add To Cart', null, true),
'remove' => $this->l('Remove', null, true),

View File

@@ -33,7 +33,7 @@
<div class="form-group">
{if isset($edit)}
<label class="control-label col-sm-5">
<span>{l s='Hotel Name' mod='hotelreservationsystem'} : </span>
<span>{l s='Property Name' mod='hotelreservationsystem'} : </span>
</label>
<select class="fixed-width-xl" name="id_hotel">
{foreach $hotels as $hotel}
@@ -44,11 +44,11 @@
</select>
{else}
<label class="control-label col-sm-5">
<span>{l s='Select Hotel' mod='hotelreservationsystem'} : </span>
<span>{l s='Select Property' mod='hotelreservationsystem'} : </span>
</label>
<div class="col-sm-4">
<select class="fixed-width-xl" name="id_hotel">
<option value='0'>{l s='Select Hotel' mod='hotelreservationsystem'}</option>>
<option value='0'>{l s='Select Property' mod='hotelreservationsystem'}</option>>
{foreach $hotels as $hotel}
<option value="{$hotel.id|escape:'html':'UTF-8'}" >{$hotel.hotel_name|escape:'html':'UTF-8'}</option>
{/foreach}
@@ -95,7 +95,7 @@
</div>
{else}
<div class="alert alert-warning">
{l s='No hotel found to assign features.' mod='hotelreservationsystem'}
{l s='No property found to assign features.' mod='hotelreservationsystem'}
</div>
{/if}
</div>

View File

@@ -21,7 +21,7 @@
*}
<div class="panel htl_conf_panel">
<h3 class="tab"> <i class="icon-cogs"></i>&nbsp;&nbsp; {l s='Hotel Configuration' mod='hotelreservationsystem'}</h3>
<h3 class="tab"> <i class="icon-cogs"></i>&nbsp;&nbsp; {l s='Property Configuration' mod='hotelreservationsystem'}</h3>
<div class="panel-body">
{foreach from=$settings_links item=settings_link}
<div class="btn-group setting-link-div col-sm-3 col-xs-12">

View File

@@ -22,7 +22,7 @@
<div class="panel">
<div class="panel-heading">
{l s='Hotel Features' mod='hotelreservationsystem'}
{l s='Property Features' mod='hotelreservationsystem'}
</div>
<div class="row">
<form method="post" action="{$current|escape:'htmlall':'UTF-8'}&{if !empty($submit_action)}{$submit_action|escape:'htmlall':'UTF-8'}{/if}&token={$token|escape:'htmlall':'UTF-8'}" class="defaultForm form-horizontal features_list_form" enctype="multipart/form-data">

View File

@@ -42,7 +42,7 @@
</div>
<div class="form-group col-sm-12">
<label for="id_hotel" class="control-label col-sm-4 required">
<span title="" data-toggle="tooltip" class="label-tooltip">{l s='Hotel Name' mod='hotelreservationsystem'}</span>
<span title="" data-toggle="tooltip" class="label-tooltip">{l s='Property Name' mod='hotelreservationsystem'}</span>
</label>
<div class="col-sm-8">
<select name="id_hotel" class="form-control" id="id_hotel">
@@ -51,7 +51,7 @@
<option value="{$name_val['id']|escape:'htmlall':'UTF-8'}" {if isset($id_hotel) && ($name_val['id'] == $id_hotel)}selected{/if}>{$name_val['hotel_name']|escape:'htmlall':'UTF-8'}</option>
{/foreach}
{else}
{l s='No hotels available' mod='hotelreservationsystem'}
{l s='No properties available' mod='hotelreservationsystem'}
{/if}
</select>
<input type="hidden" name="search_id_hotel" id="search_id_hotel" {if isset($id_hotel)}value="{$id_hotel|escape:'htmlall':'UTF-8'}"{/if}>
@@ -209,7 +209,7 @@
{else}
<div class="panel">
<div class="panel-heading">
<i class="icon-warning"></i> {l s='No Hotels' mod='hotelreservationsystem'}
<i class="icon-warning"></i> {l s='No Properties Available' mod='hotelreservationsystem'}
</div>
<div class="alert alert-warning">

View File

@@ -72,8 +72,8 @@ class AdminHotelReviewHotelReviewController extends ModuleAdminController
'class' => 'fixed-width-xs',
),
'hotel_name' => array(
'title' => $this->l('Hotel'),
'hint' => $this->l('Name of the hotel for which this review has been added.'),
'title' => $this->l('Property Name'),
'hint' => $this->l('Name of the property for which this review has been added.'),
'align' => 'left',
'callback' => 'getHotelLink',
),

View File

@@ -56,7 +56,7 @@ class StatsBestCategories extends ModuleGrid
$this->columns = array(
array(
'id' => 'name',
'header' => $this->l('Hotel name'),
'header' => $this->l('Property Name'),
'dataIndex' => 'hotel_name',
'align' => 'center'
),
@@ -65,14 +65,14 @@ class StatsBestCategories extends ModuleGrid
'header' => $this->l('Room nights booked'),
'dataIndex' => 'totalRoomsBooked',
'align' => 'center',
'tooltip' => $this->l('The room nights booked for the hotel.'),
'tooltip' => $this->l('The room nights booked for the property.'),
),
array(
'id' => 'availableRooms',
'header' => $this->l('Available room nights'),
'dataIndex' => 'availableRooms',
'align' => 'center',
'tooltip' => $this->l('The total room nights available for booking for the hotel.'),
'tooltip' => $this->l('The total room nights available for booking for the property.'),
),
array(
'id' => 'totalOrders',

View File

@@ -64,7 +64,7 @@ class StatsBestProducts extends ModuleGrid
),
array(
'id' => 'hotelName',
'header' => $this->l('Hotel name'),
'header' => $this->l('Property Name'),
'dataIndex' => 'hotelName',
'align' => 'center',
),

View File

@@ -46,7 +46,7 @@ class StatsCatalog extends Module
parent::__construct();
$this->displayName = $this->l('Hotel statistics');
$this->displayName = $this->l('Property statistics');
$this->description = $this->l('Adds a tab containing general statistics about your catalog to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.7.0.99');
}
@@ -278,7 +278,7 @@ class StatsCatalog extends Module
<ul class="list-group">
<li class="list-group-item">'.$this->returnLine($this->l('Available room types'), '<span class="badge">'.(int)$total).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Average base price'), '<span class="badge">'.Tools::displayPrice($average_price, $this->context->currency)).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Hotel page views'), '<span class="badge">'.(int)$total_hotel_page_viewed).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Property page views'), '<span class="badge">'.(int)$total_hotel_page_viewed).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Room type page views'), '<span class="badge">'.(int)$total_room_type_page_viewed).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Booked room nights'), '<span class="badge">'.(int)$total_booked_rooms).'</span></li>
<li class="list-group-item">'.$this->returnLine($this->l('Average number of page visits'), '<span class="badge">'.number_format((float)$average_viewed, 2, '.', '')).'</span></li>

View File

@@ -167,7 +167,7 @@ class StatsCheckUp extends Module
<ul class="nav nav-tabs">
<li '.($activeTab == 'hotels' ? 'class="active"' : '').'>
<a href="#statscheckup_hotels" data-toggle="tab">
<span>'.$this->l('Hotels').'</span>
<span>'.$this->l('Properties').'</span>
</a>
</li>
<li '.($activeTab == 'services' ? 'class="active"' : '').'>
@@ -301,7 +301,7 @@ class StatsCheckUp extends Module
<thead>
<tr>
<th><span class="title_box active">'.$this->l('ID').'</span></th>
<th><span class="title_box active">'.(!$this->id_hotel ? $this->l('Hotel') : $this->l('Room type')).'</span></th>
<th><span class="title_box active">'.(!$this->id_hotel ? $this->l('Property') : $this->l('Room type')).'</span></th>
<th class="center"><span class="title_box active">'.$this->l('Active').'</span></th>';
foreach ($languages as $language) {
$hotelsHtml .= '<th><span class="title_box active">'.$this->l('Desc.').' ('.Tools::strtoupper($language['iso_code']).')</span></th>';

View File

@@ -36,7 +36,7 @@ class AdminAboutHotelBlockSettingController extends ModuleAdminController
$this->fields_options = array(
'global' => array(
'title' => $this->l('Hotel Interior Description'),
'title' => $this->l('Property Interior Description'),
'icon' => 'icon-cogs',
'fields' => array(
'HOTEL_INTERIOR_HEADING' => array(
@@ -188,7 +188,7 @@ class AdminAboutHotelBlockSettingController extends ModuleAdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Add New Hotel Interior Image'),
'title' => $this->l('Add New Property Interior Image'),
'icon' => 'icon-list-ul'
),
'input' => array(
@@ -200,7 +200,7 @@ class AdminAboutHotelBlockSettingController extends ModuleAdminController
),
array(
'type' => 'file',
'label' => $this->l('Hotel Interior Image'),
'label' => $this->l('Property Interior Image'),
'name' => 'interior_img',
'required' => true,
'display_image' => true,
@@ -252,7 +252,7 @@ class AdminAboutHotelBlockSettingController extends ModuleAdminController
}
if (!(Tools::getValue("id_interior_image") && !$file['size'])) {
if (!$file['size']) {
$this->errors[] = $this->l('Hotel Interior Image Required.');
$this->errors[] = $this->l('Property Interior Image Required.');
} elseif ($error = ImageManager::validateUpload($file, Tools::getMaxUploadSize())) {
$this->errors[] = $error;
}

View File

@@ -42,7 +42,7 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
// field options for global fields
$this->fields_options = array(
'global' => array(
'title' => $this->l('Hotel Amenity Setting'),
'title' => $this->l('Property Amenity Setting'),
'icon' => 'icon-cogs',
'fields' => array(
'HOTEL_AMENITIES_HEADING' => array(
@@ -278,7 +278,7 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
}
if (!$hotelAmenityId || $file['size']) {
if (!$file['size']) {
$this->errors[] = $this->l('Hotel Amenity Image Required.');
$this->errors[] = $this->l('Property Amenity Image Required.');
} elseif ($error = ImageManager::validateUpload($file, Tools::getMaxUploadSize())) {
$this->errors[] = $error;
}

View File

@@ -40,8 +40,8 @@ class WkHotelFeaturesBlock extends Module
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Hotel Features');
$this->description = $this->l('Show Hotel Amenities on the home page using this module.');
$this->displayName = $this->l('Property Features');
$this->description = $this->l('Show Property Amenities on the home page using this module.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
}

View File

@@ -41,7 +41,7 @@ class wkhotelfilterblock extends Module
parent::__construct();
$this->displayName = $this->l('Layered filters and sorting block');
$this->description = $this->l('Hotel filter and sorting block');
$this->description = $this->l('Property filter and sorting block');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
}

View File

@@ -43,26 +43,26 @@ class AdminHotelRoomModuleSettingController extends ModuleAdminController
$this->fields_options = array(
'global' => array(
'title' => $this->l('Hotel Room Display Setting'),
'title' => $this->l('Property Room Display Setting'),
'icon' => 'icon-cogs',
'fields' => array(
'HOTEL_ROOM_DISPLAY_HEADING' => array(
'title' => $this->l('Hotel Room Block Title'),
'title' => $this->l('Property Room Block Title'),
'type' => 'textLang',
'lang' => true,
'required' => true,
'validation' => 'isGenericName',
'hint' => $this->l('Enter a title for the hotel rooms block.'),
'hint' => $this->l('Enter a title for the property rooms block.'),
),
'HOTEL_ROOM_DISPLAY_DESCRIPTION' => array(
'title' => $this->l('Hotel room block description'),
'title' => $this->l('Property room block description'),
'type' => 'textareaLang',
'lang' => true,
'required' => true,
'validation' => 'isGenericName',
'rows' => '4',
'cols' => '2',
'hint' => $this->l('Enter a description for the hotel rooms block.'),
'hint' => $this->l('Enter a description for the property rooms block.'),
),
),
'submit' => array('title' => $this->l('Save'))
@@ -91,7 +91,7 @@ class AdminHotelRoomModuleSettingController extends ModuleAdminController
'orderby' => false,
),
'hotel_name' => array(
'title' => $this->l('Hotel'),
'title' => $this->l('Property'),
'align' => 'center',
'orderby' => false,
),
@@ -335,25 +335,25 @@ class AdminHotelRoomModuleSettingController extends ModuleAdminController
$objDefaultLanguage = Language::getLanguage((int) $defaultLangId);
$languages = Language::getLanguages(false);
if (!trim(Tools::getValue('HOTEL_ROOM_DISPLAY_HEADING_'.$defaultLangId))) {
$this->errors[] = $this->l('Hotel rooms block title is required at least in ').
$this->errors[] = $this->l('Property rooms block title is required at least in ').
$objDefaultLanguage['name'];
} else {
foreach ($languages as $lang) {
if (trim(Tools::getValue('HOTEL_ROOM_DISPLAY_HEADING_'.$lang['id_lang']))) {
if (!Validate::isGenericName(Tools::getValue('HOTEL_ROOM_DISPLAY_HEADING_'.$lang['id_lang']))) {
$this->errors[] = $this->l('Invalid hotel rooms block title in ').$lang['name'];
$this->errors[] = $this->l('Invalid property rooms block title in ').$lang['name'];
}
}
}
}
if (!trim(Tools::getValue('HOTEL_ROOM_DISPLAY_DESCRIPTION_'.$defaultLangId))) {
$this->errors[] = $this->l('Hotel rooms block description is required at least in ').
$this->errors[] = $this->l('Property rooms block description is required at least in ').
$objDefaultLanguage['name'];
} else {
foreach ($languages as $lang) {
if (trim(Tools::getValue('HOTEL_ROOM_DISPLAY_DESCRIPTION_'.$lang['id_lang']))) {
if (!Validate::isGenericName(Tools::getValue('HOTEL_ROOM_DISPLAY_DESCRIPTION_'.$lang['id_lang']))) {
$this->errors[] = $this->l('Invalid hotel rooms block description in ').$lang['name'];
$this->errors[] = $this->l('Invalid property rooms block description in ').$lang['name'];
}
}
}

View File

@@ -71,13 +71,13 @@ class WkRoomSearchBlock extends Module
'autocompletesearch'
),
'no_results_found_cond' => $this->l('No results found for this search', false, true),
'hotel_name_cond' => $this->l('Please select a hotel name', false, true),
'hotel_name_cond' => $this->l('Please select a property name', false, true),
'check_in_time_cond' => $this->l('Please enter Check In time', false, true),
'check_out_time_cond' => $this->l('Please enter Check Out time', false, true),
'less_checkin_date' => $this->l('Check In date can not be before current date.', false, true),
'more_checkout_date' => $this->l('Check Out date must be greater than Check In date.', false, true),
'hotel_location_txt' => $this->l('Hotel Location', false, true),
'select_htl_txt' => $this->l('Select Hotel', false, true),
'hotel_location_txt' => $this->l('Property Location', false, true),
'select_htl_txt' => $this->l('Select Property', false, true),
'select_age_txt' => $this->l('Select age', false, true),
'under_1_age' => $this->l('Under 1', false, true),
'room_txt' => $this->l('Stay', false, true),

View File

@@ -37,7 +37,7 @@ class AdminTestimonialsModuleSettingController extends ModuleAdminController
$this->fields_options = array(
'modulesetting' => array(
'title' => $this->l('Hotel Testimonials Setting'),
'title' => $this->l('Property Testimonials Setting'),
'fields' => array(
'HOTEL_TESIMONIAL_BLOCK_HEADING' => array(
'title' => $this->l('Testimonial block title'),
@@ -154,7 +154,7 @@ class AdminTestimonialsModuleSettingController extends ModuleAdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Hotel Testimonial Configuration'),
'title' => $this->l('Property Testimonial Configuration'),
'icon' => 'icon-globe'
),
'input' => array(

View File

@@ -42,8 +42,8 @@ class WkTestimonialBlock extends Module
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Hotel Testimonial');
$this->description = $this->l('Show Hotel testimonials on home page using this module.');
$this->displayName = $this->l('Property Testimonial');
$this->description = $this->l('Show Property testimonials on home page using this module.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
}

View File

@@ -31,7 +31,7 @@
</tr>
<tr>
<th class="product header">{l s='Room Type / Reference' pdf='true'}</th>
<th class="product header">{l s='Hotel' pdf='true'}</th>
<th class="product header">{l s='Property Name' pdf='true'}</th>
<th class="product header">{l s='Duration' pdf='true'}</th>
<th class="product header">{l s='Num stays' pdf='true'}</th>
<th class="product header-right">{l s='Total Price' pdf='true'}<br />{if $tax_excluded_display}{l s='(Tax Excl.)' pdf='true'}{else}{l s='(Tax Incl.)' pdf='true'}{/if}</th>

View File

@@ -215,7 +215,7 @@
<span id="layer_cart_product_time_duration"></span>
</div>
<div>
<strong class="dark layer_cart_product_txt">{l s='Hotel Name' mod='blockcart'} &nbsp;-&nbsp;</strong>
<strong class="dark layer_cart_product_txt">{l s='Property Name' mod='blockcart'} &nbsp;-&nbsp;</strong>
<span id="layer_cart_product_hotel_name"></span>
</div>
<div>

View File

@@ -121,7 +121,7 @@
</dl>
</div>
{else}
<div class="card-text">{l s='Hotel details not available.'}</div>
<div class="card-text">{l s='Property details not available.'}</div>
{/if}
</div>
</div>

View File

@@ -329,7 +329,7 @@
<div class="room_info_hotel_images_wrap">
<div class="info_margin_div">
<div class="room_info_heading">
<span>{l s='Hotel Images'}</span>
<span>{l s='Property Images'}</span>
</div>
<div class="room_info_content" id="room_info_hotel_images">
<div class="row images-wrap"></div>