Add hooks displayAdminAddHotelFormTab and displayAdminAddHotelFormTabContent on Manage Hotel > Edit page at back office

This commit is contained in:
Abhishek Kumar
2022-07-28 16:38:33 +05:30
parent 52fdbd8501
commit c38374ab75

View File

@@ -27,6 +27,11 @@
</div>
<form id="{$table|escape:'htmlall':'UTF-8'}_form" class="defaultForm {$name_controller|escape:'htmlall':'UTF-8'} form-horizontal" action="{$current|escape:'htmlall':'UTF-8'}&{if !empty($submit_action)}{$submit_action|escape:'htmlall':'UTF-8'}{/if}&token={$token|escape:'htmlall':'UTF-8'}" method="post" enctype="multipart/form-data" {if isset($style)}style="{$style|escape:'htmlall':'UTF-8'}"{/if}>
{if isset($edit)}
{assign var=hook_arg_id_hotel value=$hotel_info.id}
{else}
{assign var=hook_arg_id_hotel value=null}
{/if}
{if count($languages) > 1}
<div class="col-lg-12">
<label class="control-label">{l s='Choose Language' mod='hotelreservationsystem'}</label>
@@ -69,6 +74,7 @@
{l s='Refund Policies' mod='hotelreservationsystem'}
</a>
</li>
{hook h='displayAdminAddHotelFormTab' id_hotel=$hook_arg_id_hotel}
</ul>
<div class="tab-content panel collapse in">
<div class="tab-pane active" id="hotel-information">
@@ -433,6 +439,7 @@
</div>
{/if}
</div>
{hook h='displayAdminAddHotelFormTabContent' id_hotel=$hook_arg_id_hotel}
</div>
</div>
<div class="panel-footer">