Add check-in and check-out time on room type detail page

This commit is contained in:
Abhishek Kumar
2022-05-17 18:41:44 +05:30
parent 0954235b04
commit dc7a2dbf2a
2 changed files with 11 additions and 0 deletions

View File

@@ -367,6 +367,8 @@ class ProductControllerCore extends FrontController
'num_days' => $num_days,
'date_from' => $date_from,
'date_to' => $date_to,
'hotel_check_in' => date('h:i a', strtotime($hotel_branch_obj->check_in)),
'hotel_check_out' => date('h:i a', strtotime($hotel_branch_obj->check_out)),
'hotel_location' => $hotel_location,
'hotel_name' => $hotel_name,
'hotel_policies' => $hotel_policies,

View File

@@ -203,6 +203,15 @@
</div>
</div>
{/if}
<div class="info_margin_div">
<div class="room_info_heading">
<span>{l s='Check-in and check-out time'}</span>
</div>
<div class="room_info_content">
<p>{l s='Check-in: '}{$hotel_check_in|escape:'html':'UTF-8'}</p>
<p>{l s='Check-out: '}{$hotel_check_out|escape:'html':'UTF-8'}</p>
</div>
</div>
{if isset($features) && $features}
<div class="info_margin_div">
<div class="room_info_heading">