From c38374ab75e31ad5ab0e66aec79ec805686d5b91 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 28 Jul 2022 16:38:33 +0530 Subject: [PATCH] Add hooks displayAdminAddHotelFormTab and displayAdminAddHotelFormTabContent on Manage Hotel > Edit page at back office --- .../views/templates/admin/add_hotel/helpers/form/form.tpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl b/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl index 2ac858b98..8f6214c8a 100644 --- a/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl +++ b/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl @@ -27,6 +27,11 @@
+ {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}
@@ -69,6 +74,7 @@ {l s='Refund Policies' mod='hotelreservationsystem'} + {hook h='displayAdminAddHotelFormTab' id_hotel=$hook_arg_id_hotel}
@@ -433,6 +439,7 @@
{/if}
+ {hook h='displayAdminAddHotelFormTabContent' id_hotel=$hook_arg_id_hotel}