Régularisation de commits manquants
This commit is contained in:
16
local/modules/DuplicateOrder/Hook/OrderDetailsHook.php
Normal file
16
local/modules/DuplicateOrder/Hook/OrderDetailsHook.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace DuplicateOrder\Hook;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
class OrderDetailsHook extends BaseHook
|
||||
{
|
||||
public function onAccountOrderBottom(HookRenderEvent $event)
|
||||
{
|
||||
$content = $this->render("duplicate-order.html", ["orderId"=>$event->getArgument("order")]);
|
||||
|
||||
$event->add($content);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user