Init des modules PaiementALivraison et LivraisonParSecteurs

This commit is contained in:
2021-02-02 11:01:58 +01:00
parent c1daba23d9
commit 2165100ac7
35 changed files with 3884 additions and 5 deletions

View 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'));
}
}