From 4ae8a61083deeb992a3e1dc9f37bea4227b612d7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 28 Aug 2023 19:45:19 +0530 Subject: [PATCH] Add hooks (11) on admin hotel page form --- .../admin/add_hotel/helpers/form/form.tpl | 22 +++++++++++++++++++ 1 file changed, 22 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 d9b047f82..6232af305 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 @@ -32,6 +32,7 @@ {else} {assign var=hook_arg_id_hotel value=null} {/if} + {hook h='displayAdminAddHotelFormTop' id_hotel=$hook_arg_id_hotel} {if count($languages) > 1}
@@ -55,6 +56,8 @@ {/if}
+ {hook h='displayAdminAddHotelFormImagesTabBefore' id_hotel=$hook_arg_id_hotel} + {if isset($hotel_info.id) && $hotel_info.id}
{/if} + + {hook h='displayAdminAddHotelFormImagesTabAfter' id_hotel=$hook_arg_id_hotel}
+ {hook h='displayAdminAddHotelFormRestrictionsTabBefore' id_hotel=$hook_arg_id_hotel} + {if isset($hotel_info.id) && $hotel_info.id}
{/if} + + {hook h='displayAdminAddHotelFormRestrictionsTabAfter' id_hotel=$hook_arg_id_hotel}
+ {hook h='displayAdminAddHotelFormRefundPoliciesBefore' id_hotel=$hook_arg_id_hotel} + {if isset($hotel_info.id) && $hotel_info.id}
{/if} + + {hook h='displayAdminAddHotelFormRefundPoliciesAfter' id_hotel=$hook_arg_id_hotel}
{hook h='displayAdminAddHotelFormTabContent' id_hotel=$hook_arg_id_hotel}
+ + {hook h='displayAdminAddHotelFormBottom' id_hotel=$hook_arg_id_hotel} +