Init des modules PaiementALivraison et LivraisonParSecteurs
This commit is contained in:
29
local/modules/DeliveryRound/Hook/DeliveryRoundHook.php
Normal file
29
local/modules/DeliveryRound/Hook/DeliveryRoundHook.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace DeliveryRound\Hook;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
/**
|
||||
* Class DeliveryRoundHook
|
||||
* @package DeliveryRound\Hook
|
||||
* @author Etienne Perriere <eperriere@openstudio.fr>
|
||||
*/
|
||||
class DeliveryRoundHook extends BaseHook
|
||||
{
|
||||
public function onModuleConfig(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render('delivery-round-config.html'));
|
||||
}
|
||||
|
||||
public function onModuleConfigJs(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render('script/delivery-round-update-js.html'));
|
||||
}
|
||||
|
||||
public function onOrderDeliveryExtra(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render('show-round-list.html'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user