Updated: hooks position updated

This commit is contained in:
azhar bhat
2026-10-19 18:41:07 +05:30
parent 254f7b063d
commit afe0c6d65d
8 changed files with 18 additions and 10 deletions

View File

@@ -62,6 +62,7 @@
</div>
</div>
{/if}
{hook h='displayAdminOrderOccupancyColumn' data=$data}
</td>
<td class="center">
<p>

View File

@@ -495,7 +495,6 @@
{if $customer->phone}
<dd><i class="icon-phone"></i> &nbsp;<b><a href="tel:{$customer->phone}">{$customer->phone}</a></b></dd>
{/if}
{hook h='displayAdminOrderAfterPhone'}
</dl>
<form method="post" action="index.php?tab=AdminCustomers&amp;id_customer={$customer->id}&amp;id_order={$order->id|intval}&amp;token={getAdminToken tab='AdminCustomers'}">
<input type="hidden" name="id_lang" value="{$order->id_lang}" />
@@ -519,6 +518,7 @@
{if $customer->phone}
<dd><i class="icon-phone"></i> &nbsp;<b><a href="tel:{$customer->phone}">{$customer->phone}</a></b></dd>
{/if}
{hook h='displayAdminOrderAfterPhone'}
</dl>
<dl class="list-detail col-sm-6">
<label class="label-title">{l s='Customer Info'}</label>

View File

@@ -158,19 +158,26 @@
{if $has_actions}
<td class="text-right">
{assign var='compiled_actions' value=array()}
{capture assign='row_actions_before_delete'}{hook h='displayAdminListRowActionsBeforeDelete' table=$table identifier=$identifier id=$tr.$identifier token=$token}{/capture}
{assign var='row_actions_before_delete_added' value=false}
{foreach $actions AS $key => $action}
{if isset($tr.$action)}
{if $key == 0}
{assign var='action' value=$action}
{/if}
{if $action == 'delete' && $actions|@count > 2}
{$compiled_actions[] = 'divider'}
{if $action == 'delete'}
{if $row_actions_before_delete}
{$compiled_actions[] = $row_actions_before_delete}
{assign var='row_actions_before_delete_added' value=true}
{/if}
{if $actions|@count > 2}
{$compiled_actions[] = 'divider'}
{/if}
{/if}
{$compiled_actions[] = $tr.$action}
{/if}
{/foreach}
{capture assign='row_actions_before_delete'}{hook h='displayAdminListRowActionsBeforeDelete' table=$table identifier=$identifier id=$tr.$identifier token=$token}{/capture}
{if $row_actions_before_delete}{$compiled_actions[] = $row_actions_before_delete}{/if}
{if $row_actions_before_delete && !$row_actions_before_delete_added}{$compiled_actions[] = $row_actions_before_delete}{/if}
{if $compiled_actions|count > 0}
{if $compiled_actions|count > 1}<div class="btn-group-action">{/if}
<div class="btn-group pull-right">

View File

@@ -52,7 +52,7 @@
{/if}
<td>
{$service['name']}
{hook h='displayPartyServiceProductDatesInvoiceAndEmail' id_service_product_order_detail=$service['id_service_product_order_detail']}
{hook h='displayServiceProductDatesInvoiceAndEmail' id_service_product_order_detail=$service['id_service_product_order_detail']}
</td>
<td class="center">
{if isset($service['product_tax_label']) && $service['product_tax_label']}{$service['product_tax_label']}{else}{l s='No tax' pdf='true'}{/if}

View File

@@ -68,7 +68,7 @@
{/capture}
{include file='_partials/ui-tooltip.tpl' tooltip_content=$smarty.capture.htl_pcm_tooltip allow_html=true}
</div>
{hook h='displayOrderedPartyServiceProduct' id_service_product_order_detail=$additionalService['id_service_product_order_detail']}
{hook h='displayOrderedServiceProduct' product_order_detail=$additionalService}
</div>
<div class="">
<span>

View File

@@ -90,10 +90,10 @@
<dt class="col-xs-5">{l s='Guests'}</dt>
<dd class="col-xs-7">
{$rm_v.adults|string_format:'%02d'} {if $rm_v.adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v.children}, {$rm_v.children|string_format:'%02d'} {if $rm_v.children > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}
{hook h='displayOrderDetailAfterOccupancy' data=$data_v room=$rm_v id_order=$order->id}
</dd>
</div>
</div>
{hook h='displayOrderDetailAfterOccupancy' data=$data_v room=$rm_v id_order=$order->id}
</div>
<div class="row">

View File

@@ -190,8 +190,8 @@
<input type="text" name="url" value="" class="hidden" />
<input type="hidden" name="contactKey" value="{$contactKey}" />
<button class="btn button button-medium contact_btn" type="submit" name="submitMessage" id="submitMessage" ><span>{l s='Send Message'}</span></button>
{hook h='displayAfterContactUsSubmitButton'}
</div>
{hook h='displayAfterContactUsSubmitButton'}
</form>
{/block}
</div>

View File

@@ -127,10 +127,10 @@
<dt class="col-xs-5">{l s='Guests'}</dt>
<dd class="col-xs-7">
{$rm_v.adults|string_format:'%02d'} {if $rm_v.adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v.children}, {$rm_v.children|string_format:'%02d'} {if $rm_v.children > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}
{hook h='displayOrderConfirmationAfterOccupancy' data=$data_v room=$rm_v}
</dd>
</div>
</div>
{hook h='displayOrderConfirmationAfterOccupancy' data=$data_v room=$rm_v}
</div>
<div class="row">
<div class="col-xs-12 col-md-6">