PointRetrait : On avance pas mal sur le frontOffice

This commit is contained in:
2021-03-05 19:00:53 +01:00
parent c12f324366
commit 0bbab6b568
20 changed files with 276 additions and 158 deletions

View File

@@ -1,14 +1,4 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace PlanificationLivraison;
@@ -19,9 +9,14 @@ use Thelia\Module\BaseModule;
class PlanificationLivraison extends BaseModule
{
/** @var string */
const DOMAIN_NAME = 'planiflivraison';
const CONFIG_VALUE_NAME = 'planiflivraison_googlemap_api_key';
const DOMAIN_NAME = 'planificationlivraison';
const CONFIG_API_KEY = 'googlemap_api_key';
const CONFIG_MAP_CENTER_LAT = 'map_center_latitude';
const CONFIG_MAP_CENTER_LNG = 'map_center_longitude';
const CONFIG_RED_ALERT = 'delay_red_alert';
const CONFIG_ORANGE_ALERT = 'delay_orange_alert';
const CONFIG_PREPARATION_DELAY = 'orders_preparation_delay';
/**
* @param ConnectionInterface|null $con