resolved contact page address issue for hotel
This commit is contained in:
@@ -309,7 +309,8 @@ class HotelBranchInformation extends ObjectModel
|
||||
if (!Cache::isStored($cache_id)) {
|
||||
$sql = 'SELECT hbi.*, hbl.`policies`, hbl.`hotel_name`, hbl.`description`, hbl.`short_description`';
|
||||
if ($detailedInfo) {
|
||||
$sql .= ', hi.id as id_cover_img, a.`city`, s.`name` as `state_name`, cl.`name` as country_name';
|
||||
$sql .= ', hi.id as id_cover_img, a.`address1` as address, a.`postcode`, a.`phone`, a.`city`,
|
||||
s.`name` as `state_name`, cl.`name` as country_name';
|
||||
}
|
||||
$sql .= ' FROM `'._DB_PREFIX_.'htl_branch_info` hbi';
|
||||
$sql .= ' LEFT JOIN `'._DB_PREFIX_.'htl_branch_info_lang` hbl
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
</div>
|
||||
<div class="col-xs-8">
|
||||
<p class="hotel-name"><span>{$hotel['hotel_name']}</span></p>
|
||||
<p class="hotel-branch-info-value">{$hotel['address']}, {$hotel['city']}, {if {$hotel['state_name']}}{$hotel['state_name']},{/if} {$hotel['country_name']}, {$hotel['zipcode']}</p>
|
||||
<p class="hotel-branch-info-value">{$hotel['address']}, {$hotel['city']}, {if {$hotel['state_name']}}{$hotel['state_name']},{/if} {$hotel['country_name']}, {$hotel['postcode']}</p>
|
||||
{if $hotel['latitude'] != 0 || $hotel['longitude'] != 0}
|
||||
<p class="hotel-branch-info-value">
|
||||
<a class="btn htl-map-direction-btn" href="http://maps.google.com/maps?daddr=({$hotel['latitude']},{$hotel['longitude']})" target="_blank">
|
||||
|
||||
Reference in New Issue
Block a user