// Set admin display hooks in templates

This commit is contained in:
rMalie
2012-01-04 11:03:51 +00:00
parent 10ce4ed05d
commit 4bbb7fb4b8
11 changed files with 13 additions and 34 deletions
@@ -56,8 +56,9 @@
{/foreach}
</script>
{if ($HOOK_INVOICE)}
<div style="float: right; margin: -40px 40px 10px 0;">{$HOOK_INVOICE}</div><br class="clear" />';
{assign var="hook_invoice" value={hook h="displayInvoice" id_order=$order->id}}
{if ($hook_invoice)}
<div style="float: right; margin: -40px 40px 10px 0;">{$hook_invoice}</div><br class="clear" />';
{/if}
<div class="bloc-command">
@@ -183,9 +184,7 @@
{/if}
<!-- Admin order hook -->
{if $HOOK_ADMIN_ORDER}
{$HOOK_ADMIN_ORDER}
{/if}
{hook h="displayAdminOrder" id_order=$order->id}
</div>
<!-- END Left column -->